We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b92636f commit d491688Copy full SHA for d491688
src/cargo/lib.rs
@@ -18,8 +18,8 @@
18
#![allow(clippy::wrong_self_convention)] // perhaps `Rc` should be special-cased in Clippy?
19
#![allow(clippy::write_with_newline)] // too pedantic
20
#![allow(clippy::inefficient_to_string)] // this causes suggestions that result in `(*s).to_string()`
21
+#![allow(clippy::collapsible_if)] // too pedantic
22
#![warn(clippy::needless_borrow)]
-#![warn(clippy::redundant_clone)]
23
// Unit is now interned, and would probably be better as pass-by-copy, but
24
// doing so causes a lot of & and * shenanigans that makes the code arguably
25
// less clear and harder to read.
0 commit comments