arena: Fix fallout of removing get()

This commit is contained in:
Alex Crichton 2014-03-20 15:05:56 -07:00
parent f3682b5639
commit 9a37416dbe
1 changed files with 2 additions and 2 deletions

View File

@ -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()
}
}