Fix a formatting error
This commit is contained in:
parent
e396186407
commit
9f18cc9e51
1 changed files with 1 additions and 1 deletions
|
@ -803,7 +803,7 @@ pub trait Iterator {
|
|||
/// (0..5).map(|x| x * 2 + 1)
|
||||
/// .for_each(move |x| tx.send(x).unwrap());
|
||||
///
|
||||
/// let v: Vec<_> = rx.iter().collect();
|
||||
/// let v: Vec<_> = rx.iter().collect();
|
||||
/// assert_eq!(v, vec![1, 3, 5, 7, 9]);
|
||||
/// ```
|
||||
///
|
||||
|
|
Loading…
Add table
Reference in a new issue