Skip to content

Commit

Permalink
Correct typos
Browse files Browse the repository at this point in the history
  • Loading branch information
tamird committed May 4, 2023
1 parent f378d94 commit 707020c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ pub trait FallibleIterator {
/// Returns `Ok(None)` when iteration is finished.
///
/// The behavior of calling this method after a previous call has returned
/// `Ok(None)` or `Err` is implemenetation defined.
/// `Ok(None)` or `Err` is implementation defined.
fn next(&mut self) -> Result<Option<Self::Item>, Self::Error>;

/// Returns bounds on the remaining length of the iterator.
Expand Down Expand Up @@ -711,7 +711,7 @@ pub trait FallibleIterator {
Cloned(self)
}

/// Returns an iterator which repeas this iterator endlessly.
/// Returns an iterator which repeats this iterator endlessly.
#[inline]
fn cycle(self) -> Cycle<Self>
where
Expand Down

0 comments on commit 707020c

Please sign in to comment.