Skip to content

Commit 703d2ad

Browse files
committed
---
yaml --- r: 15203 b: refs/heads/try c: 166d14e h: refs/heads/master i: 15201: 88207a3 15199: 65c7ec1 v: v3
1 parent 08af01c commit 703d2ad

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
refs/heads/master: 61b1875c16de39c166b0f4d54bba19f9c6777d1a
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: 4a81779abd786ff22d71434c6d9a5917ea4cdfff
5-
refs/heads/try: b210c7ad9741fa8d560494a5686d4ac62519899f
5+
refs/heads/try: 166d14e42de0d29ba88fa5a88551a76f7a12418e
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105

branches/try/src/libstd/arena.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ impl arena for arena {
2727
let mut head = list::head(self.chunks);
2828
let chunk_size = vec::alloc_len(head.data);
2929
let new_min_chunk_size = uint::max(n_bytes, chunk_size);
30-
head = chunk(uint::next_power_of_two(new_min_chunk_size));
30+
head = chunk(uint::next_power_of_two(new_min_chunk_size + 1u));
3131
self.chunks = list::cons(head, @self.chunks);
3232

3333
ret self.alloc(n_bytes, align);

0 commit comments

Comments
 (0)