Skip to content

Commit c61785e

Browse files
committedJan 21, 2021
Fix typo
1 parent 653bcc8 commit c61785e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎library/core/src/iter/traits/iterator.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -650,7 +650,7 @@ pub trait Iterator {
650650
///
651651
/// let src = ["Hello", "to", "all", "people", "!!"].iter().copied();
652652
///
653-
/// // The closure mutably borrows it's context to generate an item.
653+
/// // The closure mutably borrows its context to generate an item.
654654
/// let mut happy_emojis = [" ❤️ ", " 😀 "].iter().copied();
655655
/// let separator = || happy_emojis.next().unwrap_or(" 🦀 ");
656656
///

0 commit comments

Comments
 (0)
Please sign in to comment.