mirror of
https://github.com/actix/actix-web.git
synced 2024-11-25 19:11:10 +00:00
Fix typo in error string for i32 parse in router deserialization (#2876)
* fix typo in error string for i32 parse * update actix-router changelog for #2876 * Update CHANGES.md Co-authored-by: Rob Ede <robjtede@icloud.com>
This commit is contained in:
parent
bd5c0af0a6
commit
07a7290432
2 changed files with 4 additions and 1 deletions
|
@ -1,8 +1,11 @@
|
||||||
# Changes
|
# Changes
|
||||||
|
|
||||||
## Unreleased - 2022-xx-xx
|
## Unreleased - 2022-xx-xx
|
||||||
|
- Fix typo in error string in `Deserializer::deserialize_i32` implementation for `Value`. [#2876]
|
||||||
- Minimum supported Rust version (MSRV) is now 1.59 due to transitive `time` dependency.
|
- Minimum supported Rust version (MSRV) is now 1.59 due to transitive `time` dependency.
|
||||||
|
|
||||||
|
[#2876]: https://github.com/actix/actix-web/pull/2876
|
||||||
|
|
||||||
|
|
||||||
## 0.5.0 - 2022-02-22
|
## 0.5.0 - 2022-02-22
|
||||||
### Added
|
### Added
|
||||||
|
|
|
@ -293,7 +293,7 @@ impl<'de> Deserializer<'de> for Value<'de> {
|
||||||
parse_value!(deserialize_bool, visit_bool, "bool");
|
parse_value!(deserialize_bool, visit_bool, "bool");
|
||||||
parse_value!(deserialize_i8, visit_i8, "i8");
|
parse_value!(deserialize_i8, visit_i8, "i8");
|
||||||
parse_value!(deserialize_i16, visit_i16, "i16");
|
parse_value!(deserialize_i16, visit_i16, "i16");
|
||||||
parse_value!(deserialize_i32, visit_i32, "i16");
|
parse_value!(deserialize_i32, visit_i32, "i32");
|
||||||
parse_value!(deserialize_i64, visit_i64, "i64");
|
parse_value!(deserialize_i64, visit_i64, "i64");
|
||||||
parse_value!(deserialize_u8, visit_u8, "u8");
|
parse_value!(deserialize_u8, visit_u8, "u8");
|
||||||
parse_value!(deserialize_u16, visit_u16, "u16");
|
parse_value!(deserialize_u16, visit_u16, "u16");
|
||||||
|
|
Loading…
Reference in a new issue