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 d90bbda commit 57d66a0Copy full SHA for 57d66a0
vortex-buffer/src/buffer.rs
@@ -321,9 +321,6 @@ impl<T> Buffer<T> {
321
if !begin_byte.is_multiple_of(*alignment) {
322
vortex_panic!("range start must be aligned to {alignment:?}");
323
}
324
- if !end_byte.is_multiple_of(*alignment) {
325
- vortex_panic!("range end must be aligned to {alignment:?}");
326
- }
327
if !alignment.is_aligned_to(Alignment::of::<T>()) {
328
vortex_panic!("Slice alignment must at least align to type T")
329
0 commit comments