mirror of
https://github.com/google/comprehensive-rust.git
synced 2024-12-04 03:25:08 +02:00
Add reference to collect, FromIterator
This commit is contained in:
parent
b1069f863c
commit
d1a3290cd6
@ -39,4 +39,6 @@ fn main() {
|
||||
}
|
||||
```
|
||||
|
||||
[`collect`](https://doc.rust-lang.org/stable/std/iter/trait.Iterator.html#method.collect) relies on `FromIterator`, which [`HashSet`](https://doc.rust-lang.org/std/iter/trait.FromIterator.html) implements.
|
||||
|
||||
</details>
|
||||
|
Loading…
Reference in New Issue
Block a user