From 3a81e60a29c53d6638319dafd5123fcbe59bb0b2 Mon Sep 17 00:00:00 2001 From: Michael Wright Date: Fri, 20 Dec 2019 08:22:43 +0200 Subject: [PATCH] Update lints for `iterator_step_by_zero` changes --- src/lintlist/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lintlist/mod.rs b/src/lintlist/mod.rs index 201a80d81..c91be11f4 100644 --- a/src/lintlist/mod.rs +++ b/src/lintlist/mod.rs @@ -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", },