mirror of
https://github.com/fafhrd91/actix-web
synced 2024-11-24 00:21:08 +01:00
fix wrong error message for path deserialize for i32 #510
This commit is contained in:
parent
bbe69e5b8d
commit
7449884ce3
@ -10,6 +10,10 @@
|
|||||||
|
|
||||||
* Use 5 seconds keep-alive timer by default.
|
* Use 5 seconds keep-alive timer by default.
|
||||||
|
|
||||||
|
### Fixed
|
||||||
|
|
||||||
|
* Fixed wrong error message for i16 type #510
|
||||||
|
|
||||||
|
|
||||||
## [0.7.7] - 2018-09-11
|
## [0.7.7] - 2018-09-11
|
||||||
|
|
||||||
|
@ -175,7 +175,7 @@ impl<'de, S: 'de> Deserializer<'de> for PathDeserializer<'de, S> {
|
|||||||
parse_single_value!(deserialize_bool, visit_bool, "bool");
|
parse_single_value!(deserialize_bool, visit_bool, "bool");
|
||||||
parse_single_value!(deserialize_i8, visit_i8, "i8");
|
parse_single_value!(deserialize_i8, visit_i8, "i8");
|
||||||
parse_single_value!(deserialize_i16, visit_i16, "i16");
|
parse_single_value!(deserialize_i16, visit_i16, "i16");
|
||||||
parse_single_value!(deserialize_i32, visit_i32, "i16");
|
parse_single_value!(deserialize_i32, visit_i32, "i32");
|
||||||
parse_single_value!(deserialize_i64, visit_i64, "i64");
|
parse_single_value!(deserialize_i64, visit_i64, "i64");
|
||||||
parse_single_value!(deserialize_u8, visit_u8, "u8");
|
parse_single_value!(deserialize_u8, visit_u8, "u8");
|
||||||
parse_single_value!(deserialize_u16, visit_u16, "u16");
|
parse_single_value!(deserialize_u16, visit_u16, "u16");
|
||||||
|
Loading…
Reference in New Issue
Block a user