diff --git a/src/traits.rs b/src/traits.rs index 505bfe96d7..56daaa0ddf 100644 --- a/src/traits.rs +++ b/src/traits.rs @@ -265,7 +265,7 @@ pub trait Pixel: Copy + Clone { /// If the pixel does not contain 4 channels the extra are ignored. #[deprecated( since = "0.24.0", - note = "Use the constructor of the pixel, for example `Rgba::new(r,g,b,a)` or `Pixel::from_slice`" + note = "Use the constructor of the pixel, for example `Rgba([r,g,b,a])` or `Pixel::from_slice`" )] fn from_channels( a: Self::Subpixel,