replace if-let and while-let with if let
and while let
This commit is contained in:
parent
dbe7609414
commit
2d60a6113d
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue