diff --git a/src/overlay.rs b/src/overlay.rs index 9e79ad0..8b19c1a 100644 --- a/src/overlay.rs +++ b/src/overlay.rs @@ -225,7 +225,7 @@ impl> OverlayAt> for uninit::Image { ..((j + y as usize) * self.width() as usize + x as usize + (with.width() as usize)) * 3; // <= because ".." range - debug_assert!(o_x.end <= self.buffer().as_ref().len()); + // debug_assert!(o_x.end <= self.buffer().as_ref().len()); debug_assert!(i_x.end <= with.buffer().as_ref().len()); // SAFETY: we are in ⬜! let b = unsafe { with.buffer.as_ref().get_unchecked(i_x) };