Skip to content

Commit 707020c

Browse files
committed
Correct typos
1 parent f378d94 commit 707020c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/lib.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ pub trait FallibleIterator {
121121
/// Returns `Ok(None)` when iteration is finished.
122122
///
123123
/// The behavior of calling this method after a previous call has returned
124-
/// `Ok(None)` or `Err` is implemenetation defined.
124+
/// `Ok(None)` or `Err` is implementation defined.
125125
fn next(&mut self) -> Result<Option<Self::Item>, Self::Error>;
126126

127127
/// Returns bounds on the remaining length of the iterator.
@@ -711,7 +711,7 @@ pub trait FallibleIterator {
711711
Cloned(self)
712712
}
713713

714-
/// Returns an iterator which repeas this iterator endlessly.
714+
/// Returns an iterator which repeats this iterator endlessly.
715715
#[inline]
716716
fn cycle(self) -> Cycle<Self>
717717
where

0 commit comments

Comments
 (0)