diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2024-10-16 19:18:33 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-10-16 19:18:33 +0200 |
| commit | 75f418fb2814575a6d47e8966061befc4a40a7c2 (patch) | |
| tree | 7ede284dfd2c77d7fc4c0e03748c5eddbc13af52 /compiler/rustc_codegen_llvm/src/attributes.rs | |
| parent | 1014970462af7373f73a1b563c47f7b21ef49357 (diff) | |
| parent | b2b4ad4cc94077eba1331acc534b5e36ae3e2603 (diff) | |
| download | rust-75f418fb2814575a6d47e8966061befc4a40a7c2.tar.gz rust-75f418fb2814575a6d47e8966061befc4a40a7c2.zip | |
Rollup merge of #131783 - practicalrs:fix_explicit_iter_loop, r=compiler-errors
Fix explicit_iter_loop in rustc_serialize
Hi,
This PR fixes some clippy warnings
```
warning: it is more concise to loop over references to containers instead of using explicit iteration methods
--> compiler/rustc_serialize/src/serialize.rs:675:18
|
675 | for e in self.iter() {
| ^^^^^^^^^^^ help: to write this more concisely, try: `self`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_iter_loop
```
Best regards,
Michal
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/attributes.rs')
0 files changed, 0 insertions, 0 deletions
