Skip to content

Commit 931b79e

Browse files
committed
Update map_identity.stderr
1 parent a763836 commit 931b79e

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)