Skip to content

Commit

Permalink
Removed ignored ?Sized bounds
Browse files Browse the repository at this point in the history
  • Loading branch information
Ogeon committed Jul 31, 2024
1 parent 6fe1dc0 commit 37795e3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions palette/src/convert/from_into_color_mut.rs
Original file line number Diff line number Diff line change
Expand Up @@ -132,8 +132,8 @@ where

impl<T, U> FromColorMut<[U]> for [T]
where
T: FromColorMut<U> + ArrayCast + ?Sized,
U: FromColorMut<T> + ArrayCast<Array = T::Array> + ?Sized,
T: FromColorMut<U> + ArrayCast,
U: FromColorMut<T> + ArrayCast<Array = T::Array>,
{
#[inline]
fn from_color_mut(colors: &mut [U]) -> FromColorMutGuard<Self, [U]> {
Expand Down
4 changes: 2 additions & 2 deletions palette/src/convert/from_into_color_unclamped_mut.rs
Original file line number Diff line number Diff line change
Expand Up @@ -133,8 +133,8 @@ where

impl<T, U> FromColorUnclampedMut<[U]> for [T]
where
T: FromColorUnclampedMut<U> + ArrayCast + ?Sized,
U: FromColorUnclampedMut<T> + ArrayCast<Array = T::Array> + ?Sized,
T: FromColorUnclampedMut<U> + ArrayCast,
U: FromColorUnclampedMut<T> + ArrayCast<Array = T::Array>,
{
#[inline]
fn from_color_unclamped_mut(colors: &mut [U]) -> FromColorUnclampedMutGuard<Self, [U]> {
Expand Down

0 comments on commit 37795e3

Please sign in to comment.