We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent edefa97 commit 4143acfCopy full SHA for 4143acf
clippy_lints/src/unnecessary_map_on_constructor.rs
@@ -9,7 +9,7 @@ use rustc_span::sym;
9
10
declare_clippy_lint! {
11
/// ### What it does
12
- /// Suggest removing the use of a may (or map_err) method when an Option or Result is being constructed.
+ /// Suggest removing the use of a map (or map_err) method when an Option or Result is being constructed.
13
///
14
/// ### Why is this bad?
15
/// It introduces unnecessary complexity. In this case the function can be used directly and
0 commit comments