Use a more expressive variable name

This commit is contained in:
Philipp Oppermann
2015-12-10 16:55:54 +01:00
parent 5cc6f9ec4b
commit 617c92d017
2 changed files with 4 additions and 4 deletions

View File

@@ -34,12 +34,12 @@ impl<L> Table<L> where L: HierachicalLevel
pub fn next_table(&self, index: usize) -> Option<&Table<L::NextLevel>> {
self.next_table_address(index)
.map(|t| unsafe { &*(t as *const _) })
.map(|address| unsafe { &*(address as *const _) })
}
pub fn next_table_mut(&mut self, index: usize) -> Option<&mut Table<L::NextLevel>> {
self.next_table_address(index)
.map(|t| unsafe { &mut *(t as *mut _) })
.map(|address| unsafe { &mut *(address as *mut _) })
}
pub fn next_table_create<A>(&mut self,