1
0
mirror of https://github.com/rust-lang/rustlings.git synced 2024-11-08 09:09:17 +01:00

fix(clippy1): Set clippy::float_cmp lint to deny (#907)

This commit is contained in:
radicale 2022-02-04 14:39:09 +01:00 committed by GitHub
parent 5002c54ffb
commit 71a06044e6
Signed by: GitHub
GPG Key ID: 4AEE18F83AFDEB23

@ -154,7 +154,7 @@ path = "{}.rs""#,
Command::new("cargo") Command::new("cargo")
.args(&["clippy", "--manifest-path", CLIPPY_CARGO_TOML_PATH]) .args(&["clippy", "--manifest-path", CLIPPY_CARGO_TOML_PATH])
.args(RUSTC_COLOR_ARGS) .args(RUSTC_COLOR_ARGS)
.args(&["--", "-D", "warnings"]) .args(&["--", "-D", "warnings","-D","clippy::float_cmp"])
.output() .output()
} }
} }