fix that inc on list was no longer recursive

This commit is contained in:
Folkert 2023-05-03 01:03:09 +02:00
parent dc77c702c5
commit 05a9b4d601
No known key found for this signature in database
GPG key ID: 1F17F6FFD112B97C
3 changed files with 47 additions and 18 deletions

View file

@ -45,6 +45,10 @@ impl HelperOp {
fn is_dec(&self) -> bool {
matches!(self, Self::Dec)
}
fn is_inc(&self) -> bool {
matches!(self, Self::Inc)
}
}
#[derive(Debug)]