Skip to content

Commit 97fed55

Browse files
committed
derive Clone for structs in ParseCallbacks tests
1 parent db7949f commit 97fed55

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/parse_callbacks/mod.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
use bindgen::callbacks::*;
22

3-
#[derive(Debug)]
3+
#[derive(Clone, Debug)]
44
struct EnumVariantRename;
55

66
impl ParseCallbacks for EnumVariantRename {
@@ -14,7 +14,7 @@ impl ParseCallbacks for EnumVariantRename {
1414
}
1515
}
1616

17-
#[derive(Debug)]
17+
#[derive(Clone, Debug)]
1818
struct BlocklistedTypeImplementsTrait;
1919

2020
impl ParseCallbacks for BlocklistedTypeImplementsTrait {

0 commit comments

Comments
 (0)