mirror of
https://github.com/fluencelabs/wasmer
synced 2025-04-02 07:51:03 +00:00
Fixed cache example (again)
This commit is contained in:
parent
b3dd47bce8
commit
16d62ace52
@ -31,7 +31,7 @@ pub use wasmer_runtime_core::cache::{Artifact, Cache, WasmHash};
|
|||||||
/// let key = WasmHash::generate(&[]);
|
/// let key = WasmHash::generate(&[]);
|
||||||
/// // Store a module into the cache given a key
|
/// // Store a module into the cache given a key
|
||||||
/// fs_cache.store(key, module.clone())?;
|
/// fs_cache.store(key, module.clone())?;
|
||||||
/// module
|
/// Ok(module)
|
||||||
/// }
|
/// }
|
||||||
/// ```
|
/// ```
|
||||||
pub struct FileSystemCache {
|
pub struct FileSystemCache {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user