stuff
This commit is contained in:
1 parent
9e80a32a4b
commit
4d68fa476d
2 files changed
+2
-6
No files matched your search
+2
-2
@@ -4,12 +4,12 @@
|
||||
/// point to something valid, although duplicate
|
||||
/// gets around this if needed
|
||||
#[derive(Eq, Hash, PartialEq, Debug)]
|
||||
pub struct ID(usize);
|
||||
pub struct ID(u64);
|
||||
|
||||
#[derive(Default)]
|
||||
pub struct IDTracker {
|
||||
free: Vec<ID>,
|
||||
cur: usize,
|
||||
cur: u64,
|
||||
}
|
||||
|
||||
impl IDTracker {
|
||||
|
||||
Reference in new issue
Block a user