Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Resolve while_let_on_iterator clippy lint
warning: this loop could be written as a `for` loop --> serde/src/private/de.rs:2905:9 | 2905 | while let Some(item) = self.iter.next() { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `for item in self.iter.by_ref()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#while_let_on_iterator = note: `#[warn(clippy::while_let_on_iterator)]` on by default
- Loading branch information