File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -10,6 +10,9 @@ This project adheres to [Semantic Versioning](http://semver.org/).
1010 - Needed because ` std::io::Read ` (and Write) are missing on ` #![no_std] `
1111- Introduces new ` Bytes ` and ` ByteBuf ` wrappers, that implement RmpRead/RmpWrite for no\_ std targets.
1212
13+ ### Fixed
14+ - Fixed grammar in ` TypeMismatch ` error messages.
15+
1316## 0.8.6 - 2017-04-23
1417### Added
1518- New ` rmp::decode::read_str_from_slice ` function for zero-copy reading strings from slices.
Original file line number Diff line number Diff line change @@ -216,7 +216,7 @@ impl Display for ValueReadError {
216216 ValueReadError :: InvalidMarkerRead ( ..) => "failed to read MessagePack marker" ,
217217 ValueReadError :: InvalidDataRead ( ..) => "failed to read MessagePack data" ,
218218 ValueReadError :: TypeMismatch ( ..) => {
219- "the type decoded isn't match with the expected one"
219+ "the type decoded does not match the expected one"
220220 }
221221 } )
222222 }
@@ -324,7 +324,7 @@ impl<E: RmpReadErr> Display for NumValueReadError<E> {
324324 NumValueReadError :: InvalidMarkerRead ( ..) => "failed to read MessagePack marker" ,
325325 NumValueReadError :: InvalidDataRead ( ..) => "failed to read MessagePack data" ,
326326 NumValueReadError :: TypeMismatch ( ..) => {
327- "the type decoded isn't match with the expected one"
327+ "the type decoded does not match the expected one"
328328 }
329329 NumValueReadError :: OutOfRange => "out of range integral type conversion attempted" ,
330330 } )
You can’t perform that action at this time.
0 commit comments