remove extra Rc wrappers, disable internal components access

This commit is contained in:
yggverse 2025-03-08 17:16:08 +02:00
parent a874bd8106
commit 6c7cfec5d2
3 changed files with 23 additions and 29 deletions

View file

@ -70,9 +70,4 @@ impl Memory {
}
recent
}
/// Get records total
pub fn total(&self) -> usize {
self.index.borrow().len()
}
}