Skip to content

Commit

Permalink
f
Browse files Browse the repository at this point in the history
  • Loading branch information
LagginTimes committed Sep 3, 2024
1 parent 54ea98b commit ea1cf8b
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions crates/core/src/checkpoint.rs
Original file line number Diff line number Diff line change
Expand Up @@ -231,11 +231,6 @@ where
core::ops::Bound::Unbounded => true,
})
}

/// This method tests for `self` and `other` to have equal internal pointers.
pub fn eq_ptr(&self, other: &Self) -> bool {
Arc::as_ptr(&self.0) == Arc::as_ptr(&other.0)
}
}

impl<B> CheckPoint<B>
Expand Down Expand Up @@ -334,6 +329,11 @@ where
Err(self)
}
}

/// This method tests for `self` and `other` to have equal internal pointers.
pub fn eq_ptr(&self, other: &Self) -> bool {
Arc::as_ptr(&self.0) == Arc::as_ptr(&other.0)
}
}

/// Iterates over checkpoints backwards.
Expand Down

0 comments on commit ea1cf8b

Please sign in to comment.