mirror of
https://codeberg.org/icewind/php-literal-parser.git
synced 2026-06-03 18:44:07 +02:00
lower msrv to 1.43
This commit is contained in:
parent
688f4fb6f4
commit
a3178f9993
2 changed files with 18 additions and 3 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue