From 6440343a6c26fca12ef2e323fa7738dce9da1986 Mon Sep 17 00:00:00 2001 From: Huon Wilson Date: Sun, 18 Aug 2013 08:28:04 +1000 Subject: More spelling corrections. --- src/libstd/iterator.rs | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'src/libstd/iterator.rs') 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 { 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 { }).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 { } impl Repeat { - /// 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 { Repeat{element: elt} -- cgit 1.4.1-3-g733a5