Skip to content

Commit

Permalink
++
Browse files Browse the repository at this point in the history
  • Loading branch information
qalisander committed Apr 5, 2024
1 parent fa43374 commit ccb3e2a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions contracts/src/utils.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
use alloy_primitives::U256;
use stylus_sdk::storage::{StorageGuardMut, StorageUint};

pub trait AddAssignUnchecked<T> {
pub(crate) trait AddAssignUnchecked<T> {
fn add_assign_unchecked(&mut self, rhs: T);
}

Expand All @@ -12,7 +12,7 @@ impl<'a> AddAssignUnchecked<U256> for StorageGuardMut<'a, StorageUint<256, 4>> {
}
}

pub trait SubAssignUnchecked<T> {
pub(crate) trait SubAssignUnchecked<T> {
fn sub_assign_unchecked(&mut self, rhs: T);
}

Expand Down

0 comments on commit ccb3e2a

Please sign in to comment.