Skip to content

Commit 4c15a60

Browse files
committed
update description
1 parent d7cf575 commit 4c15a60

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clippy_lints/src/unnecessary_map_on_constructor.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ declare_clippy_lint! {
2626
#[clippy::version = "1.73.0"]
2727
pub UNNECESSARY_MAP_ON_CONSTRUCTOR,
2828
complexity,
29-
"Suggest removing usage of map in Option or Result construction"
29+
"using `map`/`map_err` on `Option` or `Result` constructors"
3030
}
3131
declare_lint_pass!(UnnecessaryMapOnConstructor => [UNNECESSARY_MAP_ON_CONSTRUCTOR]);
3232

0 commit comments

Comments
 (0)