From cae5f059e8c1700caf4d28699d44599629e99192 Mon Sep 17 00:00:00 2001 From: Jeremy Wall Date: Sun, 21 Nov 2021 14:34:02 -0500 Subject: [PATCH] Cleanup warnings --- kitchen/src/main.rs | 2 -- recipes/src/test.rs | 4 +--- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/kitchen/src/main.rs b/kitchen/src/main.rs index c9a2267..1c978e6 100644 --- a/kitchen/src/main.rs +++ b/kitchen/src/main.rs @@ -15,8 +15,6 @@ mod cli; use std::env; -use recipes::{IngredientAccumulator, Recipe}; - use clap; use clap::{clap_app, crate_authors, crate_version}; diff --git a/recipes/src/test.rs b/recipes/src/test.rs index 6b9e169..d65c788 100644 --- a/recipes/src/test.rs +++ b/recipes/src/test.rs @@ -11,8 +11,8 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. +use crate::VolumeMeasure::*; use crate::*; -use crate::{VolumeMeasure::*, WeightMeasure::*}; use std::convert::Into; @@ -235,8 +235,6 @@ fn test_ingredient_display() { } } -use Measure::*; - #[test] fn test_ratio_parse() { if let ParseResult::Complete(_, rat) = parse::ratio(StrIter::new("1/2")) {