fix mistake

This commit is contained in:
Ty Overby 2017-10-13 10:17:58 -07:00
parent 7dc7a94560
commit c696aac206
1 changed files with 1 additions and 1 deletions

View File

@ -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,