Skip to content

Commit 9f18cc9

Browse files
authored
Fix a formatting error
1 parent e396186 commit 9f18cc9

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
@@ -803,7 +803,7 @@ pub trait Iterator {
803803
/// (0..5).map(|x| x * 2 + 1)
804804
/// .for_each(move |x| tx.send(x).unwrap());
805805
///
806-
/// let v: Vec<_> = rx.iter().collect();
806+
/// let v: Vec<_> = rx.iter().collect();
807807
/// assert_eq!(v, vec![1, 3, 5, 7, 9]);
808808
/// ```
809809
///

0 commit comments

Comments
 (0)