diff options
-rw-r--r-- | src/clang.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/clang.rs b/src/clang.rs index ffe9d5d0..72cd567c 100644 --- a/src/clang.rs +++ b/src/clang.rs @@ -573,7 +573,7 @@ impl Hash for Cursor { } /// The type of a node in clang's AST. -#[derive(Clone)] +#[derive(Clone, Copy)] pub struct Type { x: CXType, } |