core: Update vec_repr to include the box header
This commit is contained in:
parent
09a1b94907
commit
1523298bc7
@ -1162,7 +1162,12 @@ impl extensions<T> for [T] {
|
||||
mod unsafe {
|
||||
// FIXME: This should have crate visibility (#1893 blocks that)
|
||||
#[doc = "The internal representation of a vector"]
|
||||
type vec_repr = {mut fill: uint, mut alloc: uint, data: u8};
|
||||
type vec_repr = {
|
||||
box_header: (uint, uint, uint, uint),
|
||||
mut fill: uint,
|
||||
mut alloc: uint,
|
||||
data: u8
|
||||
};
|
||||
|
||||
#[doc = "
|
||||
Constructs a vector from an unsafe pointer to a buffer
|
||||
|
Loading…
x
Reference in New Issue
Block a user