Fixed clippy warning

This commit is contained in:
SadiinsoSnowfall 2021-11-04 14:05:36 +01:00
parent c757066ce3
commit fef7820871

View File

@ -143,7 +143,7 @@ impl<T> MaybeUndefined<T> {
match self {
MaybeUndefined::Value(y) => matches!(x, Some(v) if v == y),
MaybeUndefined::Null => matches!(x, None),
_ => false,
MaybeUndefined::Undefined => false,
}
}