Skip to content

Commit 2d60a61

Browse files
committed
replace if-let and while-let with if let and while let
1 parent dbe7609 commit 2d60a61

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clippy_lints/src/loops.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,7 @@ declare_clippy_lint! {
341341
/// ```
342342
pub WHILE_LET_ON_ITERATOR,
343343
style,
344-
"using a while-let loop instead of a for loop on an iterator"
344+
"using a `while let` loop instead of a for loop on an iterator"
345345
}
346346

347347
declare_clippy_lint! {

0 commit comments

Comments
 (0)