mirror of
https://github.com/phil-opp/blog_os.git
synced 2025-12-16 14:27:49 +00:00
Rename and use is_unused()
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user