Rollup merge of #27095 - tshepang:space, r=alexcrichton

This commit is contained in:
Manish Goregaokar
2015-07-18 08:13:16 +05:30
+1 -1
View File
@@ -946,7 +946,7 @@ pub fn swap_front_remove(&mut self, index: usize) -> Option<T> {
/// 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) {