Skip to content

Commit 3a81e60

Browse files
author
Michael Wright
committed
Update lints for iterator_step_by_zero changes
1 parent 710e06d commit 3a81e60

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
@@ -885,7 +885,7 @@ pub const ALL_LINTS: [Lint; 340] = [
885885
Lint {
886886
name: "iterator_step_by_zero",
887887
group: "correctness",
888-
desc: "using `Iterator::step_by(0)`, which produces an infinite iterator",
888+
desc: "using `Iterator::step_by(0)`, which will panic at runtime",
889889
deprecation: None,
890890
module: "methods",
891891
},

0 commit comments

Comments
 (0)