diff options
| author | Tshepang Lekhonkhobe <tshepang@gmail.com> | 2015-06-08 21:58:48 +0200 |
|---|---|---|
| committer | Tshepang Lekhonkhobe <tshepang@gmail.com> | 2015-06-08 23:35:40 +0200 |
| commit | e305674945aca47772356d9fbc7d4bacbd134c92 (patch) | |
| tree | 7478158e787c5c243ad527e0c5bb349d660370d1 | |
| parent | 20cf4cf62c72c67fdd89609f9098b259335ba1ae (diff) | |
| download | rust-e305674945aca47772356d9fbc7d4bacbd134c92.tar.gz rust-e305674945aca47772356d9fbc7d4bacbd134c92.zip | |
book: remove a sentence that is not clear
| -rw-r--r-- | src/doc/trpl/generics.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/doc/trpl/generics.md b/src/doc/trpl/generics.md index f8f1962e0cf..c28d7c71608 100644 --- a/src/doc/trpl/generics.md +++ b/src/doc/trpl/generics.md @@ -1,8 +1,8 @@ % Generics Sometimes, when writing a function or data type, we may want it to work for -multiple types of arguments. Luckily, Rust has a feature that gives us a better -way: generics. Generics are called ‘parametric polymorphism’ in type theory, +multiple types of arguments. In Rust, we can do this with generics. +Generics are called ‘parametric polymorphism’ in type theory, which means that they are types or functions that have multiple forms (‘poly’ is multiple, ‘morph’ is form) over a given parameter (‘parametric’). |
