diff options
| author | bors <bors@rust-lang.org> | 2024-04-14 03:15:53 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2024-04-14 03:15:53 +0000 |
| commit | f3c66088610c1b80110297c2d9a8b5f9265b013f (patch) | |
| tree | a5fe331d8251fc1c08c26d4f3ddcd7bc0216d258 /tests/coverage/branch/generics.rs | |
| parent | 7ab5eb8fe7aee35aea8ed4aed8c34f6abd988cc5 (diff) | |
| parent | 7b5af57303d0b870959e8171240d8aa03bf0eec9 (diff) | |
| download | rust-f3c66088610c1b80110297c2d9a8b5f9265b013f.tar.gz rust-f3c66088610c1b80110297c2d9a8b5f9265b013f.zip | |
Auto merge of #107462 - WaffleLapkin:from_iterator_for_tuple, r=dtolnay
Implement `FromIterator` for `(impl Default + Extend, impl Default + Extend)`
Similarly to how https://github.com/rust-lang/rust/pull/85835 implemented `Extend` for `(impl Extend, impl Extend)`:
```rust
impl<A, B, AE, BE> FromIterator<(AE, BE)> for (A, B)
where
A: Default + Extend<AE>,
B: Default + Extend<BE>,
{ ... }
```
Diffstat (limited to 'tests/coverage/branch/generics.rs')
0 files changed, 0 insertions, 0 deletions
