diff options
Diffstat (limited to 'src/library/mod.rs')
| -rw-r--r-- | src/library/mod.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/library/mod.rs b/src/library/mod.rs index 4db544e9..c6dfb758 100644 --- a/src/library/mod.rs +++ b/src/library/mod.rs @@ -14,7 +14,7 @@ pub use font::*; pub use page::*; pub use spacing::*; -use crate::eval::{FuncValue, Scope}; +use crate::eval::{Scope, ValueFunc}; use crate::prelude::*; macro_rules! std { @@ -30,7 +30,7 @@ macro_rules! std { macro_rules! wrap { ($func:expr) => { - FuncValue::new(|args, ctx| Box::pin($func(args, ctx))) + ValueFunc::new(|args, ctx| Box::pin($func(args, ctx))) }; } |
