diff options
Diffstat (limited to 'src/library/mod.rs')
| -rw-r--r-- | src/library/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/library/mod.rs b/src/library/mod.rs index 191a3920..af23d050 100644 --- a/src/library/mod.rs +++ b/src/library/mod.rs @@ -21,7 +21,7 @@ macro_rules! std { /// Create a scope with all standard library functions. pub fn _std() -> Scope { let mut std = Scope::new(); - $(std.set($name, ValueFunc::new(|args, ctx| Box::pin($func(args, ctx))));)* + $(std.set($name, ValueFunc::new($func));)* std } }; |
