about summary refs log tree commit diff
path: root/src/liballoc
diff options
context:
space:
mode:
authorTomasz Różański <rosto@tlen.pl>2019-08-22 13:06:39 +0200
committerTomasz Różański <rosto@tlen.pl>2019-08-22 13:06:39 +0200
commit4ee6ee0daa13d53564f64932fa1e2ad37be7d879 (patch)
treeaac287175552985f717cad50f6a6cabcb95564c3 /src/liballoc
parenta078a34f057a8a6a779bf8cb0c12dcbd4ba6c0df (diff)
downloadrust-4ee6ee0daa13d53564f64932fa1e2ad37be7d879.tar.gz
rust-4ee6ee0daa13d53564f64932fa1e2ad37be7d879.zip
Fix formatting.
Diffstat (limited to 'src/liballoc')
-rw-r--r--src/liballoc/collections/vec_deque.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/liballoc/collections/vec_deque.rs b/src/liballoc/collections/vec_deque.rs
index 6b5e48597e4..a4a0fbb194d 100644
--- a/src/liballoc/collections/vec_deque.rs
+++ b/src/liballoc/collections/vec_deque.rs
@@ -1847,7 +1847,7 @@ impl<T> VecDeque<T> {
     ///
     /// let mut buf = VecDeque::new();
     /// buf.extend(1..5);
-    /// buf.retain(|&x| x%2 == 0);
+    /// buf.retain(|&x| x % 2 == 0);
     /// assert_eq!(buf, [2, 4]);
     /// ```
     ///