lower msrv to 1.43

This commit is contained in:
Robin Appelman 2021-02-23 22:32:46 +01:00
commit a3178f9993
2 changed files with 18 additions and 3 deletions

View file

@ -510,7 +510,7 @@ impl<'de> Visitor<'de> for ValueVisitor {
where
E: de::Error,
{
Ok(Value::String(v.into()))
Ok(Value::String(v.to_string()))
}
fn visit_str<E>(self, v: &str) -> Result<Self::Value, E>
@ -668,7 +668,7 @@ impl<'de> Visitor<'de> for KeyVisitor {
where
E: de::Error,
{
Ok(Key::String(v.into()))
Ok(Key::String(v.to_string()))
}
fn visit_str<E>(self, v: &str) -> Result<Self::Value, E>