Skip to content

Commit bba8e69

Browse files
authored
Update map_identity.stderr
1 parent 1f4b6bf commit bba8e69

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/ui/map_identity.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
error: unnecessary map of the identity function
2-
--> $DIR/map_identity.rs:8:29
2+
--> $DIR/map_identity.rs:8:47
33
|
44
LL | let _: Vec<_> = x.iter().map(not_identity).map(|x| return x).collect();
55
| ^^^^^^^^^^^^^^^^^^ help: remove the call to `map`

0 commit comments

Comments
 (0)