about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2022-03-09 23:14:11 +0100
committerGitHub <noreply@github.com>2022-03-09 23:14:11 +0100
commitd5c05fcc8ab7eae499d7bd9bd44d5d005fdc1fc3 (patch)
treed8ab9d2f934625188ed11b075326350e58f30b7d /compiler/rustc_codegen_llvm/src
parent2567d0f8837d351beba9c30545833fdf4bdc7054 (diff)
parent63eddb3e68355c3c6739b6fa3c3d37f106408922 (diff)
downloadrust-d5c05fcc8ab7eae499d7bd9bd44d5d005fdc1fc3.tar.gz
rust-d5c05fcc8ab7eae499d7bd9bd44d5d005fdc1fc3.zip
Rollup merge of #93057 - frengor:iter_collect_into, r=m-ou-se
Add Iterator::collect_into

This PR adds `Iterator::collect_into` as proposed by ``@cormacrelf`` in #48597 (see https://github.com/rust-lang/rust/pull/48597#issuecomment-842083688).
Followup of #92982.

This adds the following method to the Iterator trait:

```rust
fn collect_into<E: Extend<Self::Item>>(self, collection: &mut E) -> &mut E
```
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions