From 707020c8112d060a0e74b7a92b0dc9a216ff92a7 Mon Sep 17 00:00:00 2001 From: Tamir Duberstein Date: Thu, 4 May 2023 14:18:10 -0400 Subject: [PATCH] Correct typos --- src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index 73acc59..113a70c 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -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, Self::Error>; /// Returns bounds on the remaining length of the iterator. @@ -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 where