fast image operations
Diffstat (limited to 'src/scale.rs')
| -rw-r--r-- | src/scale.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/scale.rs b/src/scale.rs index 09fdf20..36165f7 100644 --- a/src/scale.rs +++ b/src/scale.rs @@ -9,6 +9,7 @@ impl Nearest { /// # Safety /// /// `image` must be as big or bigger than `width`, `height. + #[must_use = "function does not modify the original image"] pub unsafe fn scale<const N: usize>( image: Image<&[u8], N>, width: u32, |