Skip to content

Commit

Permalink
Remove mutability on read-only reference
Browse files Browse the repository at this point in the history
  • Loading branch information
rinon committed Jun 28, 2024
1 parent 282232e commit 7dc2e93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lf_mask.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down

0 comments on commit 7dc2e93

Please sign in to comment.