Support nostd for ByteBuf from String
This commit is contained in:
parent
871fb5adee
commit
b7ea213926
@ -84,7 +84,7 @@ mod bytebuf {
|
|||||||
use de;
|
use de;
|
||||||
|
|
||||||
#[cfg(feature = "collections")]
|
#[cfg(feature = "collections")]
|
||||||
use collections::Vec;
|
use collections::{String, Vec};
|
||||||
|
|
||||||
/// `ByteBuf` wraps a `Vec<u8>` and serializes as a byte array.
|
/// `ByteBuf` wraps a `Vec<u8>` and serializes as a byte array.
|
||||||
#[derive(Clone, Default, Eq, Hash, PartialEq, PartialOrd, Ord)]
|
#[derive(Clone, Default, Eq, Hash, PartialEq, PartialOrd, Ord)]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user