Fix serde build

This commit is contained in:
Stephen Chung 2020-11-20 21:07:31 +08:00
parent 783803ec46
commit b34e7840b0
3 changed files with 3 additions and 3 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::NONE};
use crate::{Dynamic, EvalAltResult, ImmutableString, LexError, ParseErrorType, Position};
use serde::de::{
DeserializeSeed, Deserializer, Error, IntoDeserializer, MapAccess, SeqAccess, Visitor,
};

View File

@ -1,7 +1,7 @@
//! Implement serialization support of [`Dynamic`][crate::Dynamic] for [`serde`].
use crate::stdlib::{boxed::Box, fmt, string::ToString};
use crate::{Dynamic, EvalAltResult, Position::NONE};
use crate::{Dynamic, EvalAltResult, Position};
use serde::ser::{
Error, SerializeMap, SerializeSeq, SerializeStruct, SerializeTuple, SerializeTupleStruct,
Serializer,

View File

@ -1,7 +1,7 @@
//! Implement deserialization support of [`ImmutableString`][crate::ImmutableString] for [`serde`].
use crate::stdlib::{any::type_name, boxed::Box};
use crate::{EvalAltResult, ImmutableString, Position::NONE};
use crate::{EvalAltResult, ImmutableString, Position};
use serde::de::{Deserializer, Visitor};
/// Deserializer for `ImmutableString`.