Auto merge of #26367 - tshepang:patch-1, r=bluss
This commit is contained in:
commit
3223c885b9
1 changed files with 1 additions and 1 deletions
|
@ -8,7 +8,7 @@ yielding items of type `A` to produce a collection of `A`:
|
||||||
fn from_iter<T: Iterator<A>>(iterator: T) -> SomeCollection<A>
|
fn from_iter<T: Iterator<A>>(iterator: T) -> SomeCollection<A>
|
||||||
```
|
```
|
||||||
|
|
||||||
Here, the `Iterator` trait is specifies an interface that a type `T` must
|
Here, the `Iterator` trait specifies an interface that a type `T` must
|
||||||
explicitly implement to be used by this generic function.
|
explicitly implement to be used by this generic function.
|
||||||
|
|
||||||
**Pros**:
|
**Pros**:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue