Correct error message

Spotted the mistake while skimming over the code.
This commit is contained in:
Thomas Schaller 2017-09-10 17:25:32 +02:00 committed by GitHub
parent 4777efdfaa
commit f20770a09f
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> fn deserialize_any<V>(self, _visitor: V) -> Result<V::Value>
where V: serde::de::Visitor<'de>, 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)) Err(Error::custom(message))
} }