We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
iterator_step_by_zero
1 parent 710e06d commit 3a81e60Copy full SHA for 3a81e60
src/lintlist/mod.rs
@@ -885,7 +885,7 @@ pub const ALL_LINTS: [Lint; 340] = [
885
Lint {
886
name: "iterator_step_by_zero",
887
group: "correctness",
888
- desc: "using `Iterator::step_by(0)`, which produces an infinite iterator",
+ desc: "using `Iterator::step_by(0)`, which will panic at runtime",
889
deprecation: None,
890
module: "methods",
891
},
0 commit comments