Skip to content

Commit

Permalink
fix: remove Default bound from [T; N]'s Decode impl (#395)
Browse files Browse the repository at this point in the history
  • Loading branch information
repnop authored Jan 3, 2025
1 parent 1c7521e commit 5108ccf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/de.rs
Original file line number Diff line number Diff line change
Expand Up @@ -641,7 +641,7 @@ impl<T: Decode + Eq + core::hash::Hash> Decode for SetOf<T> {
}
}

impl<T: Decode + Default, const N: usize> Decode for [T; N] {
impl<T: Decode, const N: usize> Decode for [T; N] {
fn decode_with_tag_and_constraints<D: Decoder>(
decoder: &mut D,
tag: Tag,
Expand Down

0 comments on commit 5108ccf

Please sign in to comment.