about summary refs log tree commit diff
path: root/src/libstd/vec.rs
diff options
context:
space:
mode:
authorBrian Anderson <banderson@mozilla.com>2014-01-07 18:49:13 -0800
committerBrian Anderson <banderson@mozilla.com>2014-01-07 18:49:13 -0800
commitd32363266968c0259c3ec2065c5dd7b6fc85b152 (patch)
tree4415980f8b6384ca7532a5b4c259e4b8d2515e7e /src/libstd/vec.rs
parentb65b4d63841d09395db18eaed6e8007086592188 (diff)
downloadrust-d32363266968c0259c3ec2065c5dd7b6fc85b152.tar.gz
rust-d32363266968c0259c3ec2065c5dd7b6fc85b152.zip
'borrowed pointer' -> 'reference'
Diffstat (limited to 'src/libstd/vec.rs')
-rw-r--r--src/libstd/vec.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/vec.rs b/src/libstd/vec.rs
index 450cf1a4ef2..3cb7fcd9533 100644
--- a/src/libstd/vec.rs
+++ b/src/libstd/vec.rs
@@ -71,7 +71,7 @@ traits from other modules. Some notable examples:
 ## Iteration
 
 The method `iter()` returns an iteration value for a vector or a vector slice.
-The iterator yields borrowed pointers to the vector's elements, so if the element
+The iterator yields references to the vector's elements, so if the element
 type of the vector is `int`, the element type of the iterator is `&int`.
 
 ```rust