Skip to content

Commit ae54392

Browse files
committed
---
yaml --- r: 34873 b: refs/heads/master c: 781e446 h: refs/heads/master i: 34871: ef800c6 v: v3
1 parent e72265c commit ae54392

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
refs/heads/master: 1380776d36ca269a7c0c7684568e6ae2d395107f
2+
refs/heads/master: 781e446e2675c397d9be8a70f5e3e8c4fae0695c
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: eb8fd119c65c67f3b1b8268cc7341c22d39b7b61
55
refs/heads/try: d324a424d8f84b1eb049b12cf34182bda91b0024

trunk/src/libstd/sort.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -430,7 +430,8 @@ impl<T: Ord> MergeState<T> {
430430
array[left] <-> self.tmp[0];
431431
start += 1;
432432
}
433-
unsafe { vec::raw::set_len(&mut self.tmp, 0); } // Forget the boxed element
433+
// Forget the boxed element
434+
unsafe { vec::raw::set_len(&mut self.tmp, 0); }
434435
self.last_bsort = false;
435436
}
436437

0 commit comments

Comments
 (0)