Skip to content

Commit

Permalink
docu the whole fn
Browse files Browse the repository at this point in the history
  • Loading branch information
HaoranYi committed Aug 21, 2024
1 parent 62050da commit d22aecd
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions accounts-db/src/accounts_db.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3979,9 +3979,8 @@ impl AccountsDb {
}
}

#[allow(dead_code)]
#[cfg_attr(feature = "dev-context-only-utils", qualifiers(pub))]
fn set_storage_access(&mut self, storage_access: StorageAccess) {
#[cfg(feature = "dev-context-only-utils")]
pub fn set_storage_access(&mut self, storage_access: StorageAccess) {
self.storage_access = storage_access;
}

Expand Down

0 comments on commit d22aecd

Please sign in to comment.