diff --git a/src/libcollections/vec_deque.rs b/src/libcollections/vec_deque.rs index 117b3544f02..5a3778c3656 100644 --- a/src/libcollections/vec_deque.rs +++ b/src/libcollections/vec_deque.rs @@ -946,7 +946,7 @@ impl VecDeque { /// let mut buf = VecDeque::new(); /// buf.push_back(10); /// buf.push_back(12); - /// buf.insert(1,11); + /// buf.insert(1, 11); /// assert_eq!(Some(&11), buf.get(1)); /// ``` pub fn insert(&mut self, i: usize, t: T) {