Skip to content

Commit 4143acf

Browse files
authored
fix typo
1 parent edefa97 commit 4143acf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clippy_lints/src/unnecessary_map_on_constructor.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ use rustc_span::sym;
99

1010
declare_clippy_lint! {
1111
/// ### What it does
12-
/// Suggest removing the use of a may (or map_err) method when an Option or Result is being constructed.
12+
/// Suggest removing the use of a map (or map_err) method when an Option or Result is being constructed.
1313
///
1414
/// ### Why is this bad?
1515
/// It introduces unnecessary complexity. In this case the function can be used directly and

0 commit comments

Comments
 (0)