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 afaba35 commit 60a8ec8Copy full SHA for 60a8ec8
.clippy.toml
@@ -9,4 +9,6 @@ disallowed-methods = [
9
{ path = "std::option::Option::map_or_else", reason = "use `map(..).unwrap_or_else(..)`" },
10
{ path = "std::result::Result::map_or", reason = "use `map(..).unwrap_or(..)`" },
11
{ path = "std::result::Result::map_or_else", reason = "use `map(..).unwrap_or_else(..)`" },
12
+ { path = "std::iter::Iterator::for_each", reason = "prefer `for` for side-effects" },
13
+ { path = "std::iter::Iterator::try_for_each", reason = "prefer `for` for side-effects" },
14
]
0 commit comments