Fixed clippy warning
This commit is contained in:
parent
c757066ce3
commit
fef7820871
|
@ -143,7 +143,7 @@ impl<T> MaybeUndefined<T> {
|
||||||
match self {
|
match self {
|
||||||
MaybeUndefined::Value(y) => matches!(x, Some(v) if v == y),
|
MaybeUndefined::Value(y) => matches!(x, Some(v) if v == y),
|
||||||
MaybeUndefined::Null => matches!(x, None),
|
MaybeUndefined::Null => matches!(x, None),
|
||||||
_ => false,
|
MaybeUndefined::Undefined => false,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user