File tree Expand file tree Collapse file tree 2 files changed +2
-0
lines changed Expand file tree Collapse file tree 2 files changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -52,6 +52,7 @@ use crate::utils::MakeMaybeUninit;
5252// DIRECTIVE ArrayVecCopy #[doc = "**ArrayVecCopy's only difference to [`\x41rrayVec`](crate::\x41rrayVec) is that its"]
5353// DIRECTIVE ArrayVecCopy #[doc = "elements are constrained to be `Copy` which allows it to be `Copy` itself.** "]
5454#[ repr( C ) ]
55+ // DIRECTIVE ArrayVecCopy #[derive(Copy)]
5556pub struct ArrayVec < T , const CAP : usize > {
5657 len : LenUint ,
5758 // the `len` first elements of the array are initialized
Original file line number Diff line number Diff line change @@ -52,6 +52,7 @@ use crate::utils::MakeMaybeUninit;
5252#[ doc = "**ArrayVecCopy's only difference to [`\x41 rrayVec`](crate::\x41 rrayVec) is that its" ]
5353#[ doc = "elements are constrained to be `Copy` which allows it to be `Copy` itself.** " ]
5454#[ repr( C ) ]
55+ #[ derive( Copy ) ]
5556pub struct ArrayVecCopy < T : Copy , const CAP : usize > {
5657 len : LenUint ,
5758 // the `len` first elements of the array are initialized
You can’t perform that action at this time.
0 commit comments