fix some lint warnings

This commit is contained in:
Skgland
2026-01-24 04:13:26 +01:00
committed by Bennet Bleßmann
parent d8c6fa1fe5
commit dfad71bc6e
2 changed files with 1 additions and 2 deletions

View File

@@ -106,7 +106,7 @@ impl BranchStack {
let branch_num = self
.last()
.map(|occurrences| occurrences.current_branch_num.clone())
.unwrap_or_else(|| BranchNumber::default());
.unwrap_or_default();
BranchDesignator { branch_num }
}