diff options
| author | RetroSeven <retroseven@futility.me> | 2022-12-27 11:07:44 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-12-27 11:07:44 +0100 |
| commit | 9f18cc9e5179afa656fdf7a19f372d8ca0bb9d49 (patch) | |
| tree | 0406a72a01101f3d7c31b1277d0d7c2880281ebb | |
| parent | e3961864075eaa9e855e5eec6b4f148029684539 (diff) | |
| download | rust-9f18cc9e5179afa656fdf7a19f372d8ca0bb9d49.tar.gz rust-9f18cc9e5179afa656fdf7a19f372d8ca0bb9d49.zip | |
Fix a formatting error
| -rw-r--r-- | library/core/src/iter/traits/iterator.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/core/src/iter/traits/iterator.rs b/library/core/src/iter/traits/iterator.rs index bac836292f8..08abb0b0d92 100644 --- a/library/core/src/iter/traits/iterator.rs +++ b/library/core/src/iter/traits/iterator.rs @@ -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]); /// ``` /// |
