Fix serde feature.

This commit is contained in:
Stephen Chung
2020-12-22 15:27:27 +08:00
parent 10da4d8976
commit 206400b187
2 changed files with 9 additions and 9 deletions

View File

@@ -3,7 +3,7 @@
use super::str::ImmutableStringDeserializer;
use crate::dynamic::Union;
use crate::stdlib::{any::type_name, boxed::Box, fmt, string::ToString};
use crate::{Dynamic, EvalAltResult, ImmutableString, LexError, ParseErrorType, Position};
use crate::{Dynamic, EvalAltResult, ImmutableString, LexError, Position};
use serde::de::{
DeserializeSeed, Deserializer, Error, IntoDeserializer, MapAccess, SeqAccess, Visitor,
};
@@ -122,7 +122,6 @@ impl Error for Box<EvalAltResult> {
LexError::ImproperSymbol("".to_string(), err.to_string())
.into_err(Position::NONE)
.into()
.into()
}
}