mirror of
https://github.com/rust-lang/rust
synced 2024-10-01 22:34:35 +00:00
Fix a formatting error
This commit is contained in:
parent
e396186407
commit
9f18cc9e51
|
@ -803,7 +803,7 @@ fn map<B, F>(self, f: F) -> Map<Self, F>
|
|||
/// (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…
Reference in a new issue