diff options
author | Omid Rad <omid@users.noreply.github.com> | 2021-10-01 15:07:16 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-01 09:07:16 -0400 |
commit | cd87aff16924dc737e61ed76422aadee034b69bd (patch) | |
tree | c87d813f617f541c6f4b717a085040e2055559be /tests | |
parent | 4272e53007bb92a41c980c453ad51340eae816ed (diff) |
Remove all default actix features (#53)
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test_deserialize.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_deserialize.rs b/tests/test_deserialize.rs index 097cc57..408255a 100644 --- a/tests/test_deserialize.rs +++ b/tests/test_deserialize.rs @@ -624,7 +624,7 @@ where S: std::str::FromStr, { let s = <&str as serde::Deserialize>::deserialize(deserializer)?; - S::from_str(&s).map_err(|_| D::Error::custom("could not parse string")) + S::from_str(s).map_err(|_| D::Error::custom("could not parse string")) } #[test] |