Skip to content

Commit 19f2724

Browse files
committed
---
yaml --- r: 13134 b: refs/heads/master c: 1523298 h: refs/heads/master v: v3
1 parent c457660 commit 19f2724

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-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: 09a1b949071cd573cd171362e9c3b894105556c1
2+
refs/heads/master: 1523298bc73b2ef9141163daae1f71d5908ade10
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: 4a81779abd786ff22d71434c6d9a5917ea4cdfff
55
refs/heads/try: 2898dcc5d97da9427ac367542382b6239d9c0bbf

trunk/src/libcore/vec.rs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1162,7 +1162,12 @@ impl extensions<T> for [T] {
11621162
mod unsafe {
11631163
// FIXME: This should have crate visibility (#1893 blocks that)
11641164
#[doc = "The internal representation of a vector"]
1165-
type vec_repr = {mut fill: uint, mut alloc: uint, data: u8};
1165+
type vec_repr = {
1166+
box_header: (uint, uint, uint, uint),
1167+
mut fill: uint,
1168+
mut alloc: uint,
1169+
data: u8
1170+
};
11661171

11671172
#[doc = "
11681173
Constructs a vector from an unsafe pointer to a buffer

0 commit comments

Comments
 (0)