diff --git a/codegen/src/lib.rs b/codegen/src/lib.rs index c4d50c1f..ea341e1b 100644 --- a/codegen/src/lib.rs +++ b/codegen/src/lib.rs @@ -160,7 +160,7 @@ pub fn export_fn( /// /// let module = exported_module!(my_plugin_module); /// -/// engine.register_global_module(module.into); +/// engine.register_global_module(module.into()); /// /// assert_eq!(engine.eval::("foo(bar())")?, 42); /// # Ok(())