make use of the new optional parsing and remove the _self commands

This commit is contained in:
dusk 2025-11-27 02:00:13 +00:00
parent 00d3840fd1
commit 32d481c6b9
No known key found for this signature in database
3 changed files with 136 additions and 174 deletions

View file

@ -302,6 +302,7 @@ impl<P: Into<Parameter>> From<Remainder<P>> for Parameter {
}
}
// todo: this should ideally be removed in favor of making Token::Parameter take multiple parameters
/// skips the branch this parameter is in if it does not match
#[derive(Clone)]
pub struct Skip<P: Into<Parameter>>(pub P);