diff options
| author | Tshepang Lekhonkhobe <tshepang@gmail.com> | 2015-06-17 06:08:36 +0200 |
|---|---|---|
| committer | Tshepang Lekhonkhobe <tshepang@gmail.com> | 2015-06-17 06:08:36 +0200 |
| commit | 162330d89fe297622f8467c479a443e08ebc942c (patch) | |
| tree | 5715d89cf0899f06ac1c19b1250f55590460e18a | |
| parent | 0250ff9a5f1347f3177516e178fd8382d48169c7 (diff) | |
style: typo fix
| -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**: |
