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 6a5f5d6 commit 05378e4Copy full SHA for 05378e4
src/main.rs
@@ -19,6 +19,9 @@
19
// implementation does not consider the mutable fields, so it is still
20
// correct.
21
#![allow(clippy::mutable_key_type)]
22
+// It's sometimes more readable to explicitly create a vec than to use
23
+// the Default trait.
24
+#![allow(clippy::manual_unwrap_or_default)]
25
// .to_owned() is more explicit on string references.
26
#![warn(clippy::str_to_string)]
27
// .to_string() on a String is clearer as .clone().
0 commit comments