mirror of
https://github.com/mii443/wasmer.git
synced 2025-12-10 14:48:27 +00:00
Fix code
This commit is contained in:
@@ -107,8 +107,7 @@ impl Module {
|
||||
/// ```
|
||||
/// # use wasmer::*;
|
||||
/// #
|
||||
/// # let compiler = Cranelift::default();
|
||||
/// # let engine = EngineBuilder::new(compiler).engine();
|
||||
/// # let engine: Engine = Cranelift::default().into();
|
||||
///
|
||||
/// let module = Module::from_file(&engine, "path/to/foo.wasm");
|
||||
/// ```
|
||||
|
||||
Reference in New Issue
Block a user