diff options
| author | Lukas Lueg <lukas.lueg@gmail.com> | 2021-01-21 20:31:37 +0100 |
|---|---|---|
| committer | Lukas Lueg <lukas.lueg@gmail.com> | 2021-01-21 20:31:37 +0100 |
| commit | c61785ea44683ca03314dd4ef7150ef98db8a2ad (patch) | |
| tree | 5661bccbdfd6605db8f8fa887c79fcdc5d15a3ee | |
| parent | 653bcc8ad20320742e2011b4ad009b28767bcae2 (diff) | |
| download | rust-c61785ea44683ca03314dd4ef7150ef98db8a2ad.tar.gz rust-c61785ea44683ca03314dd4ef7150ef98db8a2ad.zip | |
Fix typo
| -rw-r--r-- | library/core/src/iter/traits/iterator.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/core/src/iter/traits/iterator.rs b/library/core/src/iter/traits/iterator.rs index e3b2c394e54..84a622e0425 100644 --- a/library/core/src/iter/traits/iterator.rs +++ b/library/core/src/iter/traits/iterator.rs @@ -650,7 +650,7 @@ pub trait Iterator { /// /// let src = ["Hello", "to", "all", "people", "!!"].iter().copied(); /// - /// // The closure mutably borrows it's context to generate an item. + /// // The closure mutably borrows its context to generate an item. /// let mut happy_emojis = [" ❤️ ", " 😀 "].iter().copied(); /// let separator = || happy_emojis.next().unwrap_or(" 🦀 "); /// |
