Merge pull request #1175 from daboross/fix-borrowed-cow-bytes

Fix borrowed Cow<'_, [u8]> deserializing as str.
This commit is contained in:
David Tolnay 2018-03-12 11:44:14 -07:00 committed by GitHub
commit a7a7a31809
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -188,7 +188,7 @@ where
} }
} }
deserializer.deserialize_str(CowBytesVisitor) deserializer.deserialize_bytes(CowBytesVisitor)
} }
pub mod size_hint { pub mod size_hint {