about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/attributes.rs
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2024-10-16 19:18:33 +0200
committerGitHub <noreply@github.com>2024-10-16 19:18:33 +0200
commit75f418fb2814575a6d47e8966061befc4a40a7c2 (patch)
tree7ede284dfd2c77d7fc4c0e03748c5eddbc13af52 /compiler/rustc_codegen_llvm/src/attributes.rs
parent1014970462af7373f73a1b563c47f7b21ef49357 (diff)
parentb2b4ad4cc94077eba1331acc534b5e36ae3e2603 (diff)
downloadrust-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