mirror of
https://github.com/bend-n/fimg.git
synced 2024-12-22 02:28:19 -06:00
fix unnecessary asmut bound
This commit is contained in:
parent
659b65d829
commit
8b0bb9f804
|
@ -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.
|
||||||
|
|
Loading…
Reference in a new issue