I love control flow
This commit is contained in:
@@ -26,6 +26,9 @@ impl<I: IdNum> IdTracker<I> {
|
||||
}
|
||||
|
||||
impl<I: IdNum> Id<I> {
|
||||
pub(crate) fn raw(id: I) -> Self {
|
||||
Self(id)
|
||||
}
|
||||
pub fn idx(&self) -> usize {
|
||||
self.0.idx()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user