Fix build.

This commit is contained in:
Stephen Chung 2021-10-21 19:51:35 +08:00
parent 83f83307ca
commit 8a7912a901

View File

@ -3348,7 +3348,7 @@ impl Engine {
{ {
let mut m = crate::Module::new(); let mut m = crate::Module::new();
lib.into_iter().for_each(|fn_def| { _lib.into_iter().for_each(|fn_def| {
m.set_script_fn(fn_def); m.set_script_fn(fn_def);
}); });