diff options
| author | Stjepan Glavina <stjepang@gmail.com> | 2017-07-02 02:09:21 +0200 |
|---|---|---|
| committer | Stjepan Glavina <stjepang@gmail.com> | 2017-07-02 02:09:21 +0200 |
| commit | 5350e22366e059f2099af91d23350be1073ee165 (patch) | |
| tree | 6023b28bccb7698e7971c488a54e224f02fb1545 /src/libcore/slice | |
| parent | d41b791c1af56b1f538cc6f77e597b7ad5b4d223 (diff) | |
| download | rust-5350e22366e059f2099af91d23350be1073ee165.tar.gz rust-5350e22366e059f2099af91d23350be1073ee165.zip | |
Stabilize feature sort_unstable
Diffstat (limited to 'src/libcore/slice')
| -rw-r--r-- | src/libcore/slice/sort.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libcore/slice/sort.rs b/src/libcore/slice/sort.rs index 6f9f2915dfe..518d56095d6 100644 --- a/src/libcore/slice/sort.rs +++ b/src/libcore/slice/sort.rs @@ -351,7 +351,7 @@ fn partition_in_blocks<T, F>(v: &mut [T], pivot: &T, is_less: &mut F) -> usize if start_l < end_l { // The left block remains. - // Move it's remaining out-of-order elements to the far right. + // Move its remaining out-of-order elements to the far right. debug_assert_eq!(width(l, r), block_l); while start_l < end_l { unsafe { @@ -363,7 +363,7 @@ fn partition_in_blocks<T, F>(v: &mut [T], pivot: &T, is_less: &mut F) -> usize width(v.as_mut_ptr(), r) } else if start_r < end_r { // The right block remains. - // Move it's remaining out-of-order elements to the far left. + // Move its remaining out-of-order elements to the far left. debug_assert_eq!(width(l, r), block_r); while start_r < end_r { unsafe { |
