Skip to content

Commit ea1cf8b

Browse files
committed
f
1 parent 54ea98b commit ea1cf8b

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

crates/core/src/checkpoint.rs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -231,11 +231,6 @@ where
231231
core::ops::Bound::Unbounded => true,
232232
})
233233
}
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-
}
239234
}
240235

241236
impl<B> CheckPoint<B>
@@ -334,6 +329,11 @@ where
334329
Err(self)
335330
}
336331
}
332+
333+
/// This method tests for `self` and `other` to have equal internal pointers.
334+
pub fn eq_ptr(&self, other: &Self) -> bool {
335+
Arc::as_ptr(&self.0) == Arc::as_ptr(&other.0)
336+
}
337337
}
338338

339339
/// Iterates over checkpoints backwards.

0 commit comments

Comments
 (0)