Fix builds.

This commit is contained in:
Stephen Chung
2022-11-08 16:37:35 +08:00
parent 8f128f37f0
commit 5bae4d8a19
2 changed files with 2 additions and 2 deletions

View File

@@ -662,7 +662,7 @@ impl Engine {
/// let mut module = Module::new();
/// module.set_native_fn("calc", |x: i64| Ok(x + 1));
///
/// let module: SharedModule = module.into();
/// let module: Shared<Module> = module.into();
///
/// engine
/// // Register the module as a fixed sub-module