Support nostd for ByteBuf from String

This commit is contained in:
David Tolnay committed 2016-12-23 23:30:27 -05:00
1 parent 871fb5adee
commit b7ea213926
1 file changed
+1 -1
+1 -1
View File
@@ -84,7 +84,7 @@ mod bytebuf {
use de;
#[cfg(feature = "collections")]
use collections::Vec;
use collections::{String, Vec};
/// `ByteBuf` wraps a `Vec<u8>` and serializes as a byte array.
#[derive(Clone, Default, Eq, Hash, PartialEq, PartialOrd, Ord)]