Matthias Krüger d5c05fcc8a
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
```
2022-03-09 23:14:11 +01:00
..
2022-02-02 23:07:02 +09:00
2022-02-20 01:57:32 +01:00
2022-02-10 22:10:08 +00:00
2022-01-28 15:01:07 +01:00
2022-02-02 23:07:02 +09:00
2022-02-25 08:00:52 -05:00
2022-02-10 22:10:08 +00:00
2022-03-03 14:54:18 -05:00