Skip to content

Commit

Permalink
Removed unnecessary trait bound.
Browse files Browse the repository at this point in the history
  • Loading branch information
Frostie314159 committed Jun 10, 2024
1 parent 7916216 commit 6ab5436
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ctx.rs
Original file line number Diff line number Diff line change
Expand Up @@ -830,7 +830,7 @@ impl<Ctx: Copy, T: TryIntoCtx<Ctx, Error = error::Error>, const N: usize> TryInt
Ok(offset)
}
}
impl<Ctx: Copy, T: SizeWith<Ctx>, const N: usize> SizeWith<Ctx> for [T; N] {
impl<Ctx, T: SizeWith<Ctx>, const N: usize> SizeWith<Ctx> for [T; N] {
fn size_with(ctx: &Ctx) -> usize {
T::size_with(ctx) * N
}
Expand Down

0 comments on commit 6ab5436

Please sign in to comment.