replace if-let and while-let with if let
and while let
This commit is contained in:
parent
dbe7609414
commit
2d60a6113d
@ -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! {
|
||||
|
Loading…
x
Reference in New Issue
Block a user