mirror of
https://github.com/pezkuwichain/serde.git
synced 2026-06-18 10:51:04 +00:00
Merge pull request #1175 from daboross/fix-borrowed-cow-bytes
Fix borrowed Cow<'_, [u8]> deserializing as str.
This commit is contained in:
@@ -188,7 +188,7 @@ where
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
deserializer.deserialize_str(CowBytesVisitor)
|
deserializer.deserialize_bytes(CowBytesVisitor)
|
||||||
}
|
}
|
||||||
|
|
||||||
pub mod size_hint {
|
pub mod size_hint {
|
||||||
|
|||||||
Reference in New Issue
Block a user