cargo fmt fixes

This commit is contained in:
Mark Thom
2026-01-08 20:09:12 -08:00
parent c2e1ded852
commit 1a8c4f9b03
4 changed files with 15 additions and 13 deletions

View File

@@ -85,9 +85,9 @@ impl BranchStack {
) -> bool {
match safety {
VarSafetyStatus::Needed => false,
VarSafetyStatus::LocallyUnneeded(planter_branch) => {
planter_branch.branch_num.has_as_subbranch(&branch.branch_num)
}
VarSafetyStatus::LocallyUnneeded(planter_branch) => planter_branch
.branch_num
.has_as_subbranch(&branch.branch_num),
VarSafetyStatus::GloballyUnneeded => true,
}
}
@@ -108,9 +108,7 @@ impl BranchStack {
.map(|occurrences| occurrences.current_branch_num.clone())
.unwrap_or_else(|| BranchNumber::default());
BranchDesignator {
branch_num,
}
BranchDesignator { branch_num }
}
#[inline]