We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 54ea98b commit ea1cf8bCopy full SHA for ea1cf8b
crates/core/src/checkpoint.rs
@@ -231,11 +231,6 @@ where
231
core::ops::Bound::Unbounded => true,
232
})
233
}
234
-
235
- /// This method tests for `self` and `other` to have equal internal pointers.
236
- pub fn eq_ptr(&self, other: &Self) -> bool {
237
- Arc::as_ptr(&self.0) == Arc::as_ptr(&other.0)
238
- }
239
240
241
impl<B> CheckPoint<B>
@@ -334,6 +329,11 @@ where
334
329
Err(self)
335
330
336
331
332
+
333
+ /// 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)
+ }
337
338
339
/// Iterates over checkpoints backwards.
0 commit comments