mirror of
https://github.com/pezkuwichain/serde.git
synced 2026-06-11 23:11:02 +00:00
Support nostd for ByteBuf from String
This commit is contained in:
+1
-1
@@ -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)]
|
||||||
|
|||||||
Reference in New Issue
Block a user