Skip to content

Commit

Permalink
don't use experimental (in 1.36) Self:: access for enums
Browse files Browse the repository at this point in the history
  • Loading branch information
kvnvelasco committed Jun 24, 2022
1 parent 1bf61e9 commit b87778b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/value/from.rs
Expand Up @@ -275,7 +275,7 @@ where
{
fn from(opt: Option<T>) -> Self {
match opt {
None => Self::Null,
None => Value::Null,
Some(value) => Into::into(value),
}
}
Expand Down

0 comments on commit b87778b

Please sign in to comment.