Skip to content

Commit e386261

Browse files
committed
Changed the lint group to complexity
1 parent 931b79e commit e386261

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clippy_lints/src/map_identity.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ declare_clippy_lint! {
2727
/// let y: Vec<_> = x.iter().map(|x| 2*x).collect();
2828
/// ```
2929
pub MAP_IDENTITY,
30-
style,
30+
complexity,
3131
"using iterator.map(|x| x)"
3232
}
3333

0 commit comments

Comments
 (0)