Skip to content

Commit a9cbc6d

Browse files
committed
ArrayObjectFlags needed Debug and PartialEq traits to be derived, was throwing an error before
1 parent 912ee90 commit a9cbc6d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/cust/src/memory/array.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ impl ArrayFormat {
155155

156156
bitflags::bitflags! {
157157
/// Flags which modify the behavior of CUDA array creation.
158-
#[derive(Default)]
158+
#[derive(Default, Debug, PartialEq)]
159159
pub struct ArrayObjectFlags: c_uint {
160160
/// Enables creation of layered CUDA arrays. When this flag is set, depth specifies the
161161
/// number of layers, not the depth of a 3D array.

0 commit comments

Comments
 (0)