We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1aad072 commit f9bbf55Copy full SHA for f9bbf55
src/lib.rs
@@ -908,7 +908,7 @@ impl<const MIN_ALIGN: usize> Bump<MIN_ALIGN> {
908
let ptr = round_mut_ptr_down_to(footer_ptr.cast::<u8>(), MIN_ALIGN);
909
debug_assert_eq!(ptr as usize % MIN_ALIGN, 0);
910
debug_assert!(
911
- data.as_ptr() < ptr,
+ data.as_ptr() <= ptr,
912
"bump pointer {ptr:#p} should still be greater than or equal to the \
913
start of the bump chunk {data:#p}"
914
);
0 commit comments