]> git.lizzy.rs Git - rust.git/blobdiff - library/alloc/src/vec/mod.rs
Remove various double spaces in source comments.
[rust.git] / library / alloc / src / vec / mod.rs
index 36cfac8ee9e17da0dde403e785c0a09efd324898..36b0b3c9e7cc072aca6f39d2f165d277d52cbdc3 100644 (file)
@@ -2429,7 +2429,7 @@ pub fn extend_from_within<R>(&mut self, src: R)
         self.reserve(range.len());
 
         // SAFETY:
-        // - `slice::range` guarantees  that the given range is valid for indexing self
+        // - `slice::range` guarantees that the given range is valid for indexing self
         unsafe {
             self.spec_extend_from_within(range);
         }
@@ -2686,7 +2686,7 @@ fn clone(&self) -> Self {
 
     // HACK(japaric): with cfg(test) the inherent `[T]::to_vec` method, which is
     // required for this method definition, is not available. Instead use the
-    // `slice::to_vec`  function which is only available with cfg(test)
+    // `slice::to_vec` function which is only available with cfg(test)
     // NB see the slice::hack module in slice.rs for more information
     #[cfg(test)]
     fn clone(&self) -> Self {