Skip to content

Commit 9fee197

Browse files
committed
Move from-iter-instead-of-collect to pedantic
Since FromIterator will become part of the prelude, this lint being warn by default is incongruous with the libs team position on the topic.
1 parent d184413 commit 9fee197

File tree

1 file changed

+1
-1
lines changed
  • clippy_lints/src/methods

1 file changed

+1
-1
lines changed

clippy_lints/src/methods/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1530,7 +1530,7 @@ declare_clippy_lint! {
15301530
/// assert_eq!(v, vec![5, 5, 5, 5, 5]);
15311531
/// ```
15321532
pub FROM_ITER_INSTEAD_OF_COLLECT,
1533-
style,
1533+
pedantic,
15341534
"use `.collect()` instead of `::from_iter()`"
15351535
}
15361536

0 commit comments

Comments
 (0)