Support nostd for ByteBuf from String
This commit is contained in:
parent
871fb5adee
commit
b7ea213926
@ -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)]
|
||||
|
Loading…
x
Reference in New Issue
Block a user