Fix a formatting error

This commit is contained in:
RetroSeven 2022-12-27 11:07:44 +01:00 committed by GitHub
parent e396186407
commit 9f18cc9e51
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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]);
/// ```
///