From 03ad01d23d62915b2c4a38e30b7c9c8cb86f0600 Mon Sep 17 00:00:00 2001 From: Edward Amsden Date: Thu, 7 Dec 2023 01:36:53 -0600 Subject: [PATCH] pma: fix up last rust todos --- rust/ares/src/hamt.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rust/ares/src/hamt.rs b/rust/ares/src/hamt.rs index fe32842..7e9ef50 100644 --- a/rust/ares/src/hamt.rs +++ b/rust/ares/src/hamt.rs @@ -741,10 +741,10 @@ impl Persist for Hamt { } unsafe fn handle_to_u64(&self) -> u64 { - todo!() + self.0 as u64 } unsafe fn handle_from_u64(meta_handle: u64) -> Self { - todo!() + Hamt(meta_handle as *mut Stem) } }