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

@@ -164,9 +164,9 @@ impl PartialOrd<BranchNumber> for BranchNumber {
impl BranchNumber {
pub(crate) fn has_as_subbranch(&self, other: &Self) -> bool {
other.delta <= self.delta &&
other.branch_num >= self.branch_num &&
other.branch_num < &self.branch_num + &self.delta
other.delta <= self.delta
&& other.branch_num >= self.branch_num
&& other.branch_num < &self.branch_num + &self.delta
}
pub(crate) fn split(&self) -> BranchNumber {