about summary refs log tree commit diff
path: root/doc/tutorial.md
diff options
context:
space:
mode:
authorLindsey Kuper <lindsey@composition.al>2014-01-02 12:52:00 -0500
committerLindsey Kuper <lindsey@composition.al>2014-01-05 22:03:12 -0500
commit5681c711e1997cf44a7737b33b3e81af4898579e (patch)
tree6f4614dcca63dd914440e9e0905f57c0f849ba25 /doc/tutorial.md
parent62b74d9890ed92e55166088c0bc128d6e72e2810 (diff)
downloadrust-5681c711e1997cf44a7737b33b3e81af4898579e.tar.gz
rust-5681c711e1997cf44a7737b33b3e81af4898579e.zip
Wording tweak suggested by @pcwalton.
Diffstat (limited to 'doc/tutorial.md')
-rw-r--r--doc/tutorial.md7
1 files changed, 4 insertions, 3 deletions
diff --git a/doc/tutorial.md b/doc/tutorial.md
index 03370bd6bd0..928815b8298 100644
--- a/doc/tutorial.md
+++ b/doc/tutorial.md
@@ -2080,9 +2080,10 @@ fn head<T: Clone>(v: &[T]) -> T {
 }
 ~~~~
 
-The bounded type parameter `T: Clone` says that `head` is polymorphic
-over any type `T`, so long as there is an implementation of the
-`Clone` trait for that type.
+The bounded type parameter `T: Clone` says that `head`
+can be called on an argument of type `&[T]` for any `T`,
+so long as there is an implementation of the
+`Clone` trait for `T`.
 When instantiating a generic function,
 we can only instantiate it with types
 that implement the correct trait,