Rename and use is_unused()

This commit is contained in:
Philipp Oppermann
2015-12-05 01:00:13 +01:00
parent bd05aa7715
commit c52f58cc4c
3 changed files with 3 additions and 3 deletions

View File

@@ -32,7 +32,7 @@ use memory::Frame; // needed later
pub struct Entry(u64);
impl Entry {
pub fn unused(&self) -> bool {
pub fn is_unused(&self) -> bool {
self.0 == 0
}