Skip to content

Commit ecbfa38

Browse files
author
Michael Wright
committed
Fix iterator_step_by_zero definition
1 parent 38d0b21 commit ecbfa38

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lintlist/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -887,7 +887,7 @@ pub const ALL_LINTS: [Lint; 340] = [
887887
group: "correctness",
888888
desc: "using `Iterator::step_by(0)`, which produces an infinite iterator",
889889
deprecation: None,
890-
module: "ranges",
890+
module: "methods",
891891
},
892892
Lint {
893893
name: "just_underscores_and_digits",

0 commit comments

Comments
 (0)