arena: Fix fallout of removing get()
This commit is contained in:
parent
f3682b5639
commit
9a37416dbe
@ -54,11 +54,11 @@ struct Chunk {
|
||||
}
|
||||
impl Chunk {
|
||||
fn capacity(&self) -> uint {
|
||||
self.data.deref().borrow().get().capacity()
|
||||
self.data.borrow().capacity()
|
||||
}
|
||||
|
||||
unsafe fn as_ptr(&self) -> *u8 {
|
||||
self.data.deref().borrow().get().as_ptr()
|
||||
self.data.borrow().as_ptr()
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user