loosen is_null

This commit is contained in:
AF 2023-08-01 20:21:07 +00:00
parent 5e85d06df6
commit a6254d92b5

View File

@ -91,7 +91,9 @@ impl<'a, Ctx: Context<'a>, A: Mentionable<'a, Ctx>> Nullable<'a, Ctx, A> {
Nullable::NotNull(point) => Some(point),
}
}
}
impl<'a, Ctx: Context<'a>, A: MentionableBase<'a, Ctx>> Nullable<'a, Ctx, A> {
pub fn is_null(&self) -> bool {
match self {
Nullable::Null(_) => true,