about summary refs log tree commit diff
path: root/src/libstd/iterator.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2013-08-18 05:11:58 -0700
committerbors <bors@rust-lang.org>2013-08-18 05:11:58 -0700
commit3bc685842802edfcd2918f911268f8e345cf3c26 (patch)
tree7ef40025a4a23dfcd30b30ba648f360fa6fa6d04 /src/libstd/iterator.rs
parent600901152c223faad80d7cb419cecccd71803723 (diff)
parent6440343a6c26fca12ef2e323fa7738dce9da1986 (diff)
downloadrust-3bc685842802edfcd2918f911268f8e345cf3c26.tar.gz
rust-3bc685842802edfcd2918f911268f8e345cf3c26.zip
auto merge of #8551 : huonw/rust/speling, r=alexcrichton
(This doesn't add/remove `u`s or change `ize` to `ise`, or anything like that.)
Diffstat (limited to 'src/libstd/iterator.rs')
-rw-r--r--src/libstd/iterator.rs8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/libstd/iterator.rs b/src/libstd/iterator.rs
index 34bbe9292a5..1d32c5df14e 100644
--- a/src/libstd/iterator.rs
+++ b/src/libstd/iterator.rs
@@ -511,7 +511,8 @@ pub trait Iterator<A> {
         i
     }
 
-    /// Return the element that gives the maximum value from the specfied function
+    /// Return the element that gives the maximum value from the
+    /// specified function.
     ///
     /// # Example
     ///
@@ -534,7 +535,8 @@ pub trait Iterator<A> {
         }).map_move(|(x, _)| x)
     }
 
-    /// Return the element that gives the minimum value from the specfied function
+    /// Return the element that gives the minimum value from the
+    /// specified function.
     ///
     /// # Example
     ///
@@ -1541,7 +1543,7 @@ pub struct Repeat<A> {
 }
 
 impl<A: Clone> Repeat<A> {
-    /// Create a new `Repeat` that enlessly repeats the element `elt`.
+    /// Create a new `Repeat` that endlessly repeats the element `elt`.
     #[inline]
     pub fn new(elt: A) -> Repeat<A> {
         Repeat{element: elt}