File tree 2 files changed +2
-0
lines changed
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;
52
52
// DIRECTIVE ArrayVecCopy #[doc = "**ArrayVecCopy's only difference to [`\x41rrayVec`](crate::\x41rrayVec) is that its"]
53
53
// DIRECTIVE ArrayVecCopy #[doc = "elements are constrained to be `Copy` which allows it to be `Copy` itself.** "]
54
54
#[ repr( C ) ]
55
+ // DIRECTIVE ArrayVecCopy #[derive(Copy)]
55
56
pub struct ArrayVec < T , const CAP : usize > {
56
57
len : LenUint ,
57
58
// 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;
52
52
#[ doc = "**ArrayVecCopy's only difference to [`\x41 rrayVec`](crate::\x41 rrayVec) is that its" ]
53
53
#[ doc = "elements are constrained to be `Copy` which allows it to be `Copy` itself.** " ]
54
54
#[ repr( C ) ]
55
+ #[ derive( Copy ) ]
55
56
pub struct ArrayVecCopy < T : Copy , const CAP : usize > {
56
57
len : LenUint ,
57
58
// the `len` first elements of the array are initialized
You can’t perform that action at this time.
0 commit comments