From 33e55b5ab5a3b3ac889f41bee5c5b19b27953c2f Mon Sep 17 00:00:00 2001 From: bendn Date: Tue, 23 Jan 2024 20:42:18 +0700 Subject: [PATCH] facepolm --- src/overlay.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) };