Fix no_function build.

This commit is contained in:
Stephen Chung
2020-11-16 23:25:19 +08:00
parent 699220057f
commit 7ef3bd6b20
6 changed files with 15 additions and 13 deletions

View File

@@ -1,6 +1,6 @@
//! Module defining external-loaded modules for Rhai.
use crate::ast::IdentX;
use crate::ast::{FnAccess, IdentX};
use crate::dynamic::Variant;
use crate::fn_native::{
shared_make_mut, shared_take_or_clone, CallableFunction, FnCallArgs, IteratorFn, SendSync,
@@ -20,7 +20,7 @@ use crate::stdlib::{
use crate::token::Token;
use crate::utils::StraightHasherBuilder;
use crate::{
Dynamic, EvalAltResult, FnAccess, ImmutableString, NativeCallContext, Shared, StaticVec, NO_POS,
Dynamic, EvalAltResult, ImmutableString, NativeCallContext, Shared, StaticVec, NO_POS,
};
#[cfg(not(feature = "no_index"))]