Do not box ModuleRef.

This commit is contained in:
Stephen Chung
2020-10-31 23:51:59 +08:00
parent 42eac410b7
commit abbee80e5d
4 changed files with 7 additions and 7 deletions

View File

@@ -1094,7 +1094,7 @@ impl Engine {
state: &mut State,
lib: &[&Module],
this_ptr: &mut Option<&mut Dynamic>,
modules: &Option<Box<ModuleRef>>,
modules: &Option<ModuleRef>,
name: &str,
args_expr: impl AsRef<[Expr]>,
def_val: Option<bool>,