Skip to content

Commit 8e3b20a

Browse files
authored
fix: add missing Copy impl to FixedOctetString<N> (#396)
1 parent 5108ccf commit 8e3b20a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/types/strings/octet.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ pub use bytes::Bytes as OctetString;
1010
/// An `OCTET STRING` which has a fixed size range. This type uses const
1111
/// generics to be able to place the octet string on the stack rather than the
1212
/// heap.
13-
#[derive(Clone, Debug, PartialEq, Eq, PartialOrd, Ord, Hash)]
13+
#[derive(Clone, Copy, Debug, PartialEq, Eq, PartialOrd, Ord, Hash)]
1414
pub struct FixedOctetString<const N: usize>([u8; N]);
1515

1616
impl<const N: usize> FixedOctetString<N> {

0 commit comments

Comments
 (0)