diff --git a/serde/src/bytes.rs b/serde/src/bytes.rs index db98f2d8..988c24a5 100644 --- a/serde/src/bytes.rs +++ b/serde/src/bytes.rs @@ -84,7 +84,7 @@ mod bytebuf { use de; #[cfg(feature = "collections")] - use collections::Vec; + use collections::{String, Vec}; /// `ByteBuf` wraps a `Vec` and serializes as a byte array. #[derive(Clone, Default, Eq, Hash, PartialEq, PartialOrd, Ord)]