Fix no_function build.

This commit is contained in:
Stephen Chung
2021-01-28 16:48:56 +08:00
parent f76daadcba
commit cef61bc924
3 changed files with 6 additions and 2 deletions

View File

@@ -8,6 +8,7 @@ use crate::stdlib::{boxed::Box, string::ToString};
use crate::{Engine, EvalAltResult, ParseError, Scope, AST};
/// Trait to create a Rust closure from a script.
/// Not available under `no_function`.
pub trait Func<ARGS, RET> {
type Output;