Fix all features.

This commit is contained in:
Stephen Chung
2020-07-13 19:38:50 +08:00
parent 930abb8b5c
commit adc96e24bd
13 changed files with 37 additions and 12 deletions

View File

@@ -25,11 +25,13 @@ use crate::stdlib::{
num::NonZeroUsize,
ops::{Deref, DerefMut},
string::{String, ToString},
sync::RwLock,
vec,
vec::Vec,
};
#[cfg(not(feature = "no_std"))]
use crate::stdlib::sync::RwLock;
/// Return type of module-level Rust function.
pub type FuncReturn<T> = Result<T, Box<EvalAltResult>>;