Skip to content

Commit 5108ccf

Browse files
authored
fix: remove Default bound from [T; N]'s Decode impl (#395)
1 parent 1c7521e commit 5108ccf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/de.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -641,7 +641,7 @@ impl<T: Decode + Eq + core::hash::Hash> Decode for SetOf<T> {
641641
}
642642
}
643643

644-
impl<T: Decode + Default, const N: usize> Decode for [T; N] {
644+
impl<T: Decode, const N: usize> Decode for [T; N] {
645645
fn decode_with_tag_and_constraints<D: Decoder>(
646646
decoder: &mut D,
647647
tag: Tag,

0 commit comments

Comments
 (0)