]> git.lizzy.rs Git - rust.git/commitdiff
fix docs
authorBastian Kauschke <bastian_kauschke@hotmail.de>
Tue, 31 Mar 2020 14:50:06 +0000 (16:50 +0200)
committerBastian Kauschke <bastian_kauschke@hotmail.de>
Tue, 31 Mar 2020 14:50:06 +0000 (16:50 +0200)
src/liballoc/collections/vec_deque.rs

index c95d3c6cbfe89c07000fbb8dd2ac94e49ae4b8cb..78b3ad3b83873111f0516fdccd6e82d656245049 100644 (file)
@@ -2055,7 +2055,7 @@ pub fn resize_with(&mut self, new_len: usize, generator: impl FnMut() -> T) {
     /// As it returns a mutable slice, this can be used to sort or binary search a deque.
     ///
     /// Once the internal storage is contiguous, the [`as_slices`](#method.as_slices) and
-    /// [`as_slices_mut`](#method.as_slices_mut) methods will return the entire contents of the
+    /// [`as_mut_slices`](#method.as_mut_slices) methods will return the entire contents of the
     /// `VecDeque` in a single slice.
     ///
     /// # Examples