Merge pull request #204 from torkleyy/patch-2

Correct error message
This commit is contained in:
David Tolnay 2017-09-10 09:25:53 -07:00 committed by GitHub
commit 78e40014f5
1 changed files with 1 additions and 1 deletions

View File

@ -85,7 +85,7 @@ where R: BincodeRead<'de>, S: SizeLimit, E: ByteOrder {
fn deserialize_any<V>(self, _visitor: V) -> Result<V::Value>
where V: serde::de::Visitor<'de>,
{
let message = "bincode does not support Deserializer::deserialize";
let message = "bincode does not support Deserializer::deserialize_any";
Err(Error::custom(message))
}