Fix typo.
This commit is contained in:
parent
cebbc2b607
commit
746a0b186f
@ -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::<i64>("foo(bar())")?, 42);
|
||||
/// # Ok(())
|
||||
|
Loading…
Reference in New Issue
Block a user