mirror of https://git.sr.ht/~stygianentity/bincode
remove decding terminology from sizelimit error message
This commit is contained in:
parent
6881aca80a
commit
94b3de8f3c
|
|
@ -63,7 +63,7 @@ impl StdError for ErrorKind {
|
||||||
ErrorKind::DeserializeAnyNotSupported => {
|
ErrorKind::DeserializeAnyNotSupported => {
|
||||||
"bincode doesn't support serde::Deserializer::deserialize_any"
|
"bincode doesn't support serde::Deserializer::deserialize_any"
|
||||||
}
|
}
|
||||||
ErrorKind::SizeLimit => "the size limit for decoding has been reached",
|
ErrorKind::SizeLimit => "the size limit has been reached",
|
||||||
ErrorKind::Custom(ref msg) => msg,
|
ErrorKind::Custom(ref msg) => msg,
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue