Merge pull request #1175 from daboross/fix-borrowed-cow-bytes
Fix borrowed Cow<'_, [u8]> deserializing as str.
This commit is contained in:
commit
a7a7a31809
@ -188,7 +188,7 @@ where
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
deserializer.deserialize_str(CowBytesVisitor)
|
deserializer.deserialize_bytes(CowBytesVisitor)
|
||||||
}
|
}
|
||||||
|
|
||||||
pub mod size_hint {
|
pub mod size_hint {
|
||||||
|
Loading…
Reference in New Issue
Block a user