mirror of
https://github.com/serde-rs/json.git
synced 2026-03-23 10:03:55 +00:00
don't use experimental (in 1.36) Self:: access for enums
This commit is contained in:
@@ -275,7 +275,7 @@ where
|
||||
{
|
||||
fn from(opt: Option<T>) -> Self {
|
||||
match opt {
|
||||
None => Self::Null,
|
||||
None => Value::Null,
|
||||
Some(value) => Into::into(value),
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user