fix unnecessary asmut bound

This commit is contained in:
bendn 2023-11-08 06:24:52 +07:00
parent 659b65d829
commit 8b0bb9f804
No known key found for this signature in database
GPG key ID: 0D9D3A2A3B2A93D6

View file

@ -45,7 +45,7 @@ macro_rules! transparent {
macro_rules! opaque { macro_rules! opaque {
($n: literal, $name: ident) => { ($n: literal, $name: ident) => {
impl<T: AsMut<[u8]> + AsRef<[u8]>> Image<T, $n> { impl<T: AsRef<[u8]>> Image<T, $n> {
/// Scale a /// Scale a
#[doc = stringify!($name)] #[doc = stringify!($name)]
/// image with a given scaling algorithm. /// image with a given scaling algorithm.