Fix typo.

This commit is contained in:
Stephen Chung 2020-12-23 15:15:47 +08:00
parent cebbc2b607
commit 746a0b186f

View File

@ -160,7 +160,7 @@ pub fn export_fn(
/// ///
/// let module = exported_module!(my_plugin_module); /// 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); /// assert_eq!(engine.eval::<i64>("foo(bar())")?, 42);
/// # Ok(()) /// # Ok(())