don't use experimental (in 1.36) Self:: access for enums

This commit is contained in:
Kevin Velasco
2022-06-24 11:20:05 +08:00
parent 1bf61e9c08
commit b87778bf54

View File

@@ -275,7 +275,7 @@ where
{
fn from(opt: Option<T>) -> Self {
match opt {
None => Self::Null,
None => Value::Null,
Some(value) => Into::into(value),
}
}