Skip to content

Commit

Permalink
nargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
benesjan committed Jan 30, 2025
1 parent fdfc139 commit b948388
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion noir-projects/aztec-nr/aztec/src/state_vars/storage.nr
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/// State variables must implement this trait in order to placed in the storage struct (i.e. the one marked with the
/// #[storage] attribute). The `N` value determines how many storage slots will be reserved for the state variable.
pub trait Storage<let N: u32> {
pub fn get_storage_slot(self) -> Field {
fn get_storage_slot(self) -> Field {
self.storage_slot
}
}
Expand Down

0 comments on commit b948388

Please sign in to comment.