Skip to content

Commit

Permalink
vm: try_lookup is pub(crate)
Browse files Browse the repository at this point in the history
  • Loading branch information
nagisa committed Mar 19, 2024
1 parent adb7000 commit 6e27d4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion runtime/near-vm-runner/src/cache.rs
Original file line number Diff line number Diff line change
Expand Up @@ -424,7 +424,7 @@ impl AnyCache {
/// // However if it was to succeed, the 2nd time this is called, the value would potentially
/// // come from the cache.
/// ```
pub fn try_lookup<E, R>(
pub(crate) fn try_lookup<E, R>(
&self,
key: CryptoHash,
generate: impl FnOnce() -> Result<Box<AnyCacheValue>, E>,
Expand Down

0 comments on commit 6e27d4d

Please sign in to comment.