apply lint suggestions and version bump

This commit is contained in:
Jonathan de Jong 2021-07-14 12:31:38 +02:00
parent be6b6c3cf0
commit e1b89c1248
11 changed files with 81 additions and 98 deletions

View file

@ -137,7 +137,7 @@ pub fn deserialize_from_str<
where
E: serde::de::Error,
{
v.parse().map_err(|e| serde::de::Error::custom(e))
v.parse().map_err(serde::de::Error::custom)
}
}
deserializer.deserialize_str(Visitor(std::marker::PhantomData))