arena: Fix fallout of removing get()
This commit is contained in:
parent
f3682b5639
commit
9a37416dbe
1 changed files with 2 additions and 2 deletions
|
@ -54,11 +54,11 @@ struct Chunk {
|
||||||
}
|
}
|
||||||
impl Chunk {
|
impl Chunk {
|
||||||
fn capacity(&self) -> uint {
|
fn capacity(&self) -> uint {
|
||||||
self.data.deref().borrow().get().capacity()
|
self.data.borrow().capacity()
|
||||||
}
|
}
|
||||||
|
|
||||||
unsafe fn as_ptr(&self) -> *u8 {
|
unsafe fn as_ptr(&self) -> *u8 {
|
||||||
self.data.deref().borrow().get().as_ptr()
|
self.data.borrow().as_ptr()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue