support atoms with empty slot

This commit is contained in:
John Turner
2025-10-24 21:32:41 -04:00
parent 5967d69453
commit d75266f967
2 changed files with 9 additions and 2 deletions

View File

@@ -63,7 +63,7 @@ pub struct SlotName(#[get(method = "name")] String);
#[derive(Clone, Debug, PartialEq, Eq, Get)]
pub struct Slot {
slot: SlotName,
slot: Option<SlotName>,
sub: Option<SlotName>,
operator: Option<SlotOperator>,
}