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 0688612 commit 8dd239fCopy full SHA for 8dd239f
tests/ui/unnecessary_map_on_constructor.stderr
@@ -5,6 +5,7 @@ LL | let a = Some(x).map(fun);
5
| ^^^^^^^^^^^^^^^^ help: try: `Some(fun(x))`
6
|
7
= note: `-D clippy::unnecessary-map-on-constructor` implied by `-D warnings`
8
+ = help: to override `-D warnings` add `#[allow(clippy::unnecessary_map_on_constructor)]`
9
10
error: unnecessary map on constructor Ok(_)
11
--> $DIR/unnecessary_map_on_constructor.rs:33:27
0 commit comments