Unbreak no_std
This commit is contained in:
parent
333c4e3a2e
commit
261273bac3
@ -5,6 +5,7 @@ use crate::engine::Engine;
|
||||
use crate::module::{FuncReturn, Module};
|
||||
use crate::parser::ScriptFnDef;
|
||||
use crate::result::EvalAltResult;
|
||||
use crate::stdlib::vec::Vec;
|
||||
use crate::token::{is_valid_identifier, Position};
|
||||
use crate::utils::{ImmutableString, StaticVec};
|
||||
use crate::Scope;
|
||||
|
@ -592,7 +592,7 @@ impl fmt::Debug for CustomExpr {
|
||||
}
|
||||
|
||||
impl Hash for CustomExpr {
|
||||
fn hash<H: std::hash::Hasher>(&self, state: &mut H) {
|
||||
fn hash<H: Hasher>(&self, state: &mut H) {
|
||||
self.0.hash(state);
|
||||
}
|
||||
}
|
||||
|
@ -12,7 +12,8 @@ use crate::token::{is_valid_identifier, Position, Token};
|
||||
use crate::utils::StaticVec;
|
||||
|
||||
use crate::stdlib::{
|
||||
fmt,
|
||||
boxed::Box,
|
||||
fmt, format,
|
||||
rc::Rc,
|
||||
string::{String, ToString},
|
||||
sync::Arc,
|
||||
|
Loading…
Reference in New Issue
Block a user