diff options
| author | bors <bors@rust-lang.org> | 2015-06-23 14:24:10 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2015-06-23 14:24:10 +0000 |
| commit | 3223c885b925d0cde92aaf900fa32dbcc5c8318c (patch) | |
| tree | 3f5e79fddb580e879e31e88945aa3233992d05d5 | |
| parent | 997bd334fbb5715ffbb10dc20f4b5af10eef306a (diff) | |
| parent | 162330d89fe297622f8467c479a443e08ebc942c (diff) | |
| download | rust-3223c885b925d0cde92aaf900fa32dbcc5c8318c.tar.gz rust-3223c885b925d0cde92aaf900fa32dbcc5c8318c.zip | |
Auto merge of #26367 - tshepang:patch-1, r=bluss
| -rw-r--r-- | src/doc/style/features/traits/generics.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doc/style/features/traits/generics.md b/src/doc/style/features/traits/generics.md index ab4f9cb1579..371420431e7 100644 --- a/src/doc/style/features/traits/generics.md +++ b/src/doc/style/features/traits/generics.md @@ -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> ``` -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. **Pros**: |
