mirror of
https://github.com/phil-opp/blog_os.git
synced 2025-12-16 22:37:49 +00:00
Silence dead code warning
This commit is contained in:
@@ -68,6 +68,7 @@ impl Stack {
|
|||||||
self.top
|
self.top
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[allow(dead_code)]
|
||||||
pub fn bottom(&self) -> usize {
|
pub fn bottom(&self) -> usize {
|
||||||
self.bottom
|
self.bottom
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user