Skip to content

Commit

Permalink
cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
nikurt committed Dec 6, 2023
1 parent ad5bd69 commit 78f0c08
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions runtime/near-vm-runner/src/near_vm_runner.rs
Original file line number Diff line number Diff line change
Expand Up @@ -393,9 +393,7 @@ impl NearVM {
near_primitives_core::hash::CryptoHash,
Result<VMArtifact, CompilationError>,
>,
> = once_cell::sync::Lazy::new(|| {
near_cache::SyncLruCache::new(128)
});
> = once_cell::sync::Lazy::new(|| near_cache::SyncLruCache::new(128));
MEM_CACHE.get_or_try_put(key, |_key| compile_or_read_from_cache())
};
}
Expand Down

0 comments on commit 78f0c08

Please sign in to comment.