about summary refs log tree commit diff
diff options
context:
space:
mode:
authorManish Goregaokar <manishsmail@gmail.com>2015-06-09 05:42:28 +0530
committerManish Goregaokar <manishsmail@gmail.com>2015-06-09 05:42:28 +0530
commit0d6f11b09b7681e4bd9e5fb41355bc19db0235c4 (patch)
tree3fb8d6ebf1c9e993ac9b9486b3702f7c3519ae5e
parent65eb6c072bfe3d0f5264d99860968f07a1426809 (diff)
parente305674945aca47772356d9fbc7d4bacbd134c92 (diff)
downloadrust-0d6f11b09b7681e4bd9e5fb41355bc19db0235c4.tar.gz
rust-0d6f11b09b7681e4bd9e5fb41355bc19db0235c4.zip
Rollup merge of #26105 - tshepang:sentence-not-clear, r=steveklabnik
-rw-r--r--src/doc/trpl/generics.md4
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’).