From 2d60a6113df537221f143814be8030b4ae54ac5f Mon Sep 17 00:00:00 2001 From: Takayuki Maeda Date: Wed, 17 Feb 2021 19:26:38 +0900 Subject: [PATCH] replace if-let and while-let with `if let` and `while let` --- clippy_lints/src/loops.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clippy_lints/src/loops.rs b/clippy_lints/src/loops.rs index 5211ca7da32..eb0047602fd 100644 --- a/clippy_lints/src/loops.rs +++ b/clippy_lints/src/loops.rs @@ -341,7 +341,7 @@ declare_clippy_lint! { /// ``` pub WHILE_LET_ON_ITERATOR, style, - "using a while-let loop instead of a for loop on an iterator" + "using a `while let` loop instead of a for loop on an iterator" } declare_clippy_lint! {