summaryrefslogtreecommitdiff
path: root/src/library/mod.rs
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2020-10-07 17:07:44 +0200
committerLaurenz <laurmaedje@gmail.com>2020-10-07 17:07:44 +0200
commit537545e7f8351d7677c396456e46568f5a5e2a7a (patch)
treef4c7614293246db06c7fa7496458da01b15c3b84 /src/library/mod.rs
parentca1256c924f3672feb76dbc2bc2e309eb4fc4cf5 (diff)
Evaluation and node-based layouting 🚀
Diffstat (limited to 'src/library/mod.rs')
-rw-r--r--src/library/mod.rs2
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
}
};