summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorOmid Rad <omid@users.noreply.github.com>2021-10-01 15:07:16 +0200
committerGitHub <noreply@github.com>2021-10-01 09:07:16 -0400
commitcd87aff16924dc737e61ed76422aadee034b69bd (patch)
treec87d813f617f541c6f4b717a085040e2055559be /tests
parent4272e53007bb92a41c980c453ad51340eae816ed (diff)
Remove all default actix features (#53)
Diffstat (limited to 'tests')
-rw-r--r--tests/test_deserialize.rs2
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]