global: snapshot

This commit is contained in:
nym21
2025-11-09 11:25:13 +01:00
parent e77fe0253e
commit dc2e847f58
30 changed files with 521 additions and 497 deletions

View File

@@ -63,8 +63,8 @@ impl<T> ByAddressType<T> {
}
#[inline]
pub fn get_unwrap(&self, address_type: OutputType) -> &T {
self.get(address_type).unwrap()
pub fn get_unwrap(&self, addresstype: OutputType) -> &T {
self.get(addresstype).unwrap()
}
#[inline]
@@ -83,8 +83,8 @@ impl<T> ByAddressType<T> {
}
#[inline]
pub fn get_mut_unwrap(&mut self, address_type: OutputType) -> &mut T {
self.get_mut(address_type).unwrap()
pub fn get_mut_unwrap(&mut self, addresstype: OutputType) -> &mut T {
self.get_mut(addresstype).unwrap()
}
#[inline]