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/).
10
10
- Needed because ` std::io::Read ` (and Write) are missing on ` #![no_std] `
11
11
- Introduces new ` Bytes ` and ` ByteBuf ` wrappers, that implement RmpRead/RmpWrite for no\_ std targets.
12
12
13
+ ### Fixed
14
+ - Fixed grammar in ` TypeMismatch ` error messages.
15
+
13
16
## 0.8.6 - 2017-04-23
14
17
### Added
15
18
- 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 {
216
216
ValueReadError :: InvalidMarkerRead ( ..) => "failed to read MessagePack marker" ,
217
217
ValueReadError :: InvalidDataRead ( ..) => "failed to read MessagePack data" ,
218
218
ValueReadError :: TypeMismatch ( ..) => {
219
- "the type decoded isn't match with the expected one"
219
+ "the type decoded does not match the expected one"
220
220
}
221
221
} )
222
222
}
@@ -324,7 +324,7 @@ impl<E: RmpReadErr> Display for NumValueReadError<E> {
324
324
NumValueReadError :: InvalidMarkerRead ( ..) => "failed to read MessagePack marker" ,
325
325
NumValueReadError :: InvalidDataRead ( ..) => "failed to read MessagePack data" ,
326
326
NumValueReadError :: TypeMismatch ( ..) => {
327
- "the type decoded isn't match with the expected one"
327
+ "the type decoded does not match the expected one"
328
328
}
329
329
NumValueReadError :: OutOfRange => "out of range integral type conversion attempted" ,
330
330
} )
You can’t perform that action at this time.
0 commit comments