Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Amanieu/regalloc3
/ is_empty
Method
is_empty
src/entity/base.rs:60–62 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
58
/// Returns whether the range is empty.
59
#[inline]
60
pub fn is_empty(self) -> bool {
61
self.to.index() <= self.from.index()
62
}
63
64
/// Number of elements in the range.
65
#[inline]
Callers
nothing calls this directly
Calls
1
index
Method · 0.45
Tested by
no test coverage detected