Update lints for iterator_step_by_zero changes

This commit is contained in:
Michael Wright 2019-12-20 08:22:43 +02:00
parent 710e06dd29
commit 3a81e60a29

View file

@ -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",
},