mirror of
https://github.com/bitcoinresearchkit/brk.git
synced 2026-05-11 14:41:16 -07:00
computer: store part 7
This commit is contained in:
@@ -45,6 +45,11 @@ impl From<usize> for StoredUsize {
|
||||
Self(value)
|
||||
}
|
||||
}
|
||||
impl From<StoredUsize> for usize {
|
||||
fn from(value: StoredUsize) -> Self {
|
||||
*value
|
||||
}
|
||||
}
|
||||
|
||||
impl CheckedSub<StoredUsize> for StoredUsize {
|
||||
fn checked_sub(self, rhs: Self) -> Option<Self> {
|
||||
|
||||
Reference in New Issue
Block a user