mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-18 08:52:45 +00:00
cleanup minor formatting detail
This commit is contained in:
parent
93a7567618
commit
66902b6bfb
1 changed files with 1 additions and 1 deletions
|
|
@ -124,7 +124,7 @@ impl<'a> core::ops::DerefMut for XousBuffer<'a> {
|
||||||
impl<'a> Drop for XousBuffer<'a> {
|
impl<'a> Drop for XousBuffer<'a> {
|
||||||
fn drop(&mut self) {
|
fn drop(&mut self) {
|
||||||
if self.should_drop {
|
if self.should_drop {
|
||||||
crate::unmap_memory(self.range).expect("XousBuffer: failed to drop memory.");
|
crate::unmap_memory(self.range).expect("XousBuffer: failed to drop memory");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue