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 d7cf575 commit 4c15a60Copy full SHA for 4c15a60
clippy_lints/src/unnecessary_map_on_constructor.rs
@@ -26,7 +26,7 @@ declare_clippy_lint! {
26
#[clippy::version = "1.73.0"]
27
pub UNNECESSARY_MAP_ON_CONSTRUCTOR,
28
complexity,
29
- "Suggest removing usage of map in Option or Result construction"
+ "using `map`/`map_err` on `Option` or `Result` constructors"
30
}
31
declare_lint_pass!(UnnecessaryMapOnConstructor => [UNNECESSARY_MAP_ON_CONSTRUCTOR]);
32
0 commit comments