Cleanup warnings

This commit is contained in:
Jeremy Wall 2021-11-21 14:34:02 -05:00
parent 0428f9d9f0
commit cae5f059e8
2 changed files with 1 additions and 5 deletions

View File

@ -15,8 +15,6 @@ mod cli;
use std::env; use std::env;
use recipes::{IngredientAccumulator, Recipe};
use clap; use clap;
use clap::{clap_app, crate_authors, crate_version}; use clap::{clap_app, crate_authors, crate_version};

View File

@ -11,8 +11,8 @@
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
// limitations under the License. // limitations under the License.
use crate::VolumeMeasure::*;
use crate::*; use crate::*;
use crate::{VolumeMeasure::*, WeightMeasure::*};
use std::convert::Into; use std::convert::Into;
@ -235,8 +235,6 @@ fn test_ingredient_display() {
} }
} }
use Measure::*;
#[test] #[test]
fn test_ratio_parse() { fn test_ratio_parse() {
if let ParseResult::Complete(_, rat) = parse::ratio(StrIter::new("1/2")) { if let ParseResult::Complete(_, rat) = parse::ratio(StrIter::new("1/2")) {