Fix no_std.

This commit is contained in:
Stephen Chung 2020-06-26 23:24:47 +08:00
parent 588150e217
commit 04d2fb5001
2 changed files with 2 additions and 2 deletions

View File

@ -135,7 +135,7 @@ pub use token::{get_next_token, parse_string_literal, InputStream, Token, Tokeni
#[cfg(feature = "internals")] #[cfg(feature = "internals")]
#[deprecated(note = "this type is volatile and may change")] #[deprecated(note = "this type is volatile and may change")]
pub use parser::{Expr, ReturnType, ScriptFnDef, Stmt}; pub use parser::{Expr, FnAccess, ReturnType, ScriptFnDef, Stmt};
#[cfg(feature = "internals")] #[cfg(feature = "internals")]
#[deprecated(note = "this type is volatile and may change")] #[deprecated(note = "this type is volatile and may change")]

View File

@ -18,7 +18,7 @@ use crate::stdlib::{
any::TypeId, any::TypeId,
boxed::Box, boxed::Box,
collections::HashMap, collections::HashMap,
fmt, fmt, format,
iter::empty, iter::empty,
mem, mem,
num::NonZeroUsize, num::NonZeroUsize,