Skip to content

Commit 95db271

Browse files
committed
Tweak comment wording
1 parent a92ad5e commit 95db271

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/libcollections/slice.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -1337,8 +1337,8 @@ impl<T> [T] {
13371337
core_slice::SliceExt::sort_unstable_by_key(self, f);
13381338
}
13391339

1340-
/// Permutes the slice in-place such that `self[mid..]` move to the
1341-
/// beginning of the slice while `self[..mid]` move to the end of the
1340+
/// Permutes the slice in-place such that `self[mid..]` moves to the
1341+
/// beginning of the slice while `self[..mid]` moves to the end of the
13421342
/// slice. Equivalently, rotates the slice `mid` places to the left
13431343
/// or `k = self.len() - mid` places to the right.
13441344
///

0 commit comments

Comments
 (0)