From 5c9673c216bfcf1f6cf0cd0c3f9224a8053cd195 Mon Sep 17 00:00:00 2001 From: Stephen Crane Date: Thu, 27 Jun 2024 14:25:47 -0700 Subject: [PATCH] Remove mutability on read-only reference --- src/lf_mask.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lf_mask.rs b/src/lf_mask.rs index 371b284ad..7d8622943 100644 --- a/src/lf_mask.rs +++ b/src/lf_mask.rs @@ -223,7 +223,7 @@ fn mask_edges_inter( for (l, txa) in l[..h4].iter_mut().zip(&txa[0][0][..h4]) { *l = txa[w4 - 1]; } - a[..w4].copy_from_slice(&mut txa[1][0][h4 - 1][..w4]); + a[..w4].copy_from_slice(&txa[1][0][h4 - 1][..w4]); } #[inline]