Skip to content

Commit

Permalink
Changed the lint group to complexity
Browse files Browse the repository at this point in the history
  • Loading branch information
theo-lw committed Jun 13, 2020
1 parent e6a4eb8 commit 4bf66ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clippy_lints/src/map_identity.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ declare_clippy_lint! {
/// let y: Vec<_> = x.iter().map(|x| 2*x).collect();
/// ```
pub MAP_IDENTITY,
style,
complexity,
"using iterator.map(|x| x)"
}

Expand Down

0 comments on commit 4bf66ac

Please sign in to comment.