From 95db271db2be6b937ce81bdba08c79b724a0d878 Mon Sep 17 00:00:00 2001 From: Scott McMurray Date: Sat, 20 May 2017 22:00:03 -0700 Subject: [PATCH] Tweak comment wording --- src/libcollections/slice.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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. /// -- 2.44.0