fix mistake
This commit is contained in:
parent
7dc7a94560
commit
c696aac206
|
|
@ -108,7 +108,7 @@ impl fmt::Display for ErrorKind {
|
||||||
"bincode can only encode sequences and maps that have a knowable size ahead of time."
|
"bincode can only encode sequences and maps that have a knowable size ahead of time."
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
ErrorKind::SizeLimit => write!(fmt, self.description()),
|
ErrorKind::SizeLimit => write!(fmt, "{}", self.description()),
|
||||||
ErrorKind::DeserializeAnyNotSupported => {
|
ErrorKind::DeserializeAnyNotSupported => {
|
||||||
write!(
|
write!(
|
||||||
fmt,
|
fmt,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue