Skip to content

Commit

Permalink
Update map_identity.stderr
Browse files Browse the repository at this point in the history
  • Loading branch information
theo-lw committed Jun 13, 2020
1 parent 5704139 commit e6a4eb8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/ui/map_identity.stderr
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
error: unnecessary map of the identity function
--> $DIR/map_identity.rs:8:29
--> $DIR/map_identity.rs:8:47
|
LL | let _: Vec<_> = x.iter().map(not_identity).map(|x| return x).collect();
| ^^^^^^^^^^^^^^^^^^ help: remove the call to `map`
Expand Down

0 comments on commit e6a4eb8

Please sign in to comment.