Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Resolve explicit_iter_loop pedantic clippy lint
error: it is more concise to loop over references to containers instead of using explicit iteration methods --> serde/src/private/de.rs:2761:22 | 2761 | for entry in self.0.iter_mut() { | ^^^^^^^^^^^^^^^^^ help: to write this more concisely, try: `&mut *self.0` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_iter_loop = note: `-D clippy::explicit-iter-loop` implied by `-D clippy::pedantic` error: it is more concise to loop over references to containers instead of using explicit iteration methods --> serde_derive/src/internals/check.rs:202:20 | 202 | for variant in variants.iter() { | ^^^^^^^^^^^^^^^ help: to write this more concisely, try: `variants` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_iter_loop = note: `-D clippy::explicit-iter-loop` implied by `-D clippy::pedantic` error: it is more concise to loop over references to containers instead of using explicit iteration methods --> serde_derive/src/bound.rs:262:28 | 262 | for variant in variants.iter() { | ^^^^^^^^^^^^^^^ help: to write this more concisely, try: `variants` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_iter_loop
- Loading branch information