We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2a10099 commit 88f3bc9Copy full SHA for 88f3bc9
src/address_allocator.rs
@@ -74,7 +74,7 @@ impl AddressAllocator {
74
/// Deletes the specified memory slot or returns `ResourceNotAvailable` if
75
/// the node was not allocated before.
76
pub fn free(&mut self, key: &RangeInclusive) -> Result<()> {
77
- self.interval_tree.free(key);
+ self.interval_tree.free(key)?;
78
self.available += key.len() as usize;
79
Ok(())
80
}
0 commit comments