From: Scott McMurray Date: Sun, 21 May 2017 05:00:03 +0000 (-0700) Subject: Tweak comment wording X-Git-Url: https://git.lizzy.rs/?a=commitdiff_plain;h=95db271db2be6b937ce81bdba08c79b724a0d878;p=rust.git Tweak comment wording --- diff --git a/src/libcollections/slice.rs b/src/libcollections/slice.rs index dd3259f0cb4..668f8cf80cf 100644 --- a/src/libcollections/slice.rs +++ b/src/libcollections/slice.rs @@ -1337,8 +1337,8 @@ pub fn sort_unstable_by_key(&mut self, f: F) core_slice::SliceExt::sort_unstable_by_key(self, f); } - /// Permutes the slice in-place such that `self[mid..]` move to the - /// beginning of the slice while `self[..mid]` move to the end of the + /// Permutes the slice in-place such that `self[mid..]` moves to the + /// beginning of the slice while `self[..mid]` moves to the end of the /// slice. Equivalently, rotates the slice `mid` places to the left /// or `k = self.len() - mid` places to the right. ///