Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Update lints for iterator_step_by_zero changes
  • Loading branch information
Michael Wright committed Dec 20, 2019
1 parent 710e06d commit 3a81e60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lintlist/mod.rs
Expand Up @@ -885,7 +885,7 @@ pub const ALL_LINTS: [Lint; 340] = [
Lint {
name: "iterator_step_by_zero",
group: "correctness",
desc: "using `Iterator::step_by(0)`, which produces an infinite iterator",
desc: "using `Iterator::step_by(0)`, which will panic at runtime",
deprecation: None,
module: "methods",
},
Expand Down

0 comments on commit 3a81e60

Please sign in to comment.