From 86d8e47c11ade35ab706ca462f36eb5cfd3bf24b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Wed, 6 Feb 2019 19:24:20 +0200 Subject: [PATCH] Fix broken grammar in iter::from_fn() docs --- src/libcore/iter/sources.rs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/libcore/iter/sources.rs b/src/libcore/iter/sources.rs index 2b741e66170aa..6f45f082d6a37 100644 --- a/src/libcore/iter/sources.rs +++ b/src/libcore/iter/sources.rs @@ -504,10 +504,8 @@ pub fn once_with A>(gen: F) -> OnceWith { /// [`FusedIterator`]: trait.FusedIterator.html /// [`Iterator::size_hint`]: trait.Iterator.html#method.size_hint /// -/// The closure can use its its captures and environment -/// to track state across iterations. -/// Depending on how the iterator is used, -/// this may require specifying the `move` keyword on the closure. +/// The closure can use captures and its environment to track state across iterations. Depending on +/// how the iterator is used, this may require specifying the `move` keyword on the closure. /// /// # Examples ///