replace if-let and while-let with if let and while let

This commit is contained in:
Takayuki Maeda 2021-02-17 19:26:38 +09:00
parent dbe7609414
commit 2d60a6113d

View File

@ -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! {