From 31c93101c921bfae4d40b5d9a93c0a5fc9fc0346 Mon Sep 17 00:00:00 2001 From: radicale Date: Thu, 6 Jan 2022 21:28:04 +0100 Subject: [PATCH] Set clippy::float_cmp lint to deny for clippy1 --- src/exercise.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/exercise.rs b/src/exercise.rs index ec694df9..4c6956b2 100644 --- a/src/exercise.rs +++ b/src/exercise.rs @@ -154,7 +154,7 @@ path = "{}.rs""#, Command::new("cargo") .args(&["clippy", "--manifest-path", CLIPPY_CARGO_TOML_PATH]) .args(RUSTC_COLOR_ARGS) - .args(&["--", "-D", "warnings"]) + .args(&["--", "-D", "warnings","-D","clippy::float_cmp"]) .output() } }