mirror of
https://github.com/urbit/ares.git
synced 2024-12-25 06:12:24 +03:00
pma: fix up last rust todos
This commit is contained in:
parent
863afcd7ef
commit
03ad01d23d
@ -741,10 +741,10 @@ impl<T: Copy + Persist> Persist for Hamt<T> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
unsafe fn handle_to_u64(&self) -> u64 {
|
unsafe fn handle_to_u64(&self) -> u64 {
|
||||||
todo!()
|
self.0 as u64
|
||||||
}
|
}
|
||||||
|
|
||||||
unsafe fn handle_from_u64(meta_handle: u64) -> Self {
|
unsafe fn handle_from_u64(meta_handle: u64) -> Self {
|
||||||
todo!()
|
Hamt(meta_handle as *mut Stem<T>)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user