diff options
| author | Scott McMurray <scottmcm@users.noreply.github.com> | 2017-05-20 22:00:03 -0700 |
|---|---|---|
| committer | Scott McMurray <scottmcm@users.noreply.github.com> | 2017-05-21 01:55:43 -0700 |
| commit | 95db271db2be6b937ce81bdba08c79b724a0d878 (patch) | |
| tree | f563fb58be54ce2659e1bd65066dcccdccf0c12d /src | |
| parent | a92ad5e52a418429bb3174bd051cac4a957cfa70 (diff) | |
| download | rust-95db271db2be6b937ce81bdba08c79b724a0d878.tar.gz rust-95db271db2be6b937ce81bdba08c79b724a0d878.zip | |
Tweak comment wording
Diffstat (limited to 'src')
| -rw-r--r-- | src/libcollections/slice.rs | 4 |
1 files 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 @@ impl<T> [T] { 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. /// |
