Skip to content

Commit

Permalink
#[derive(Debug)] by default.
Browse files Browse the repository at this point in the history
  • Loading branch information
ctrlcctrlv committed Oct 10, 2022
1 parent ea860e1 commit 66237dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion asttoc/src/cppmm_ast_write_rustsys.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ void write_record(fmt::ostream& out, const NodeRecord* node_record, fmt::ostream

std::string derive = get_derive_attr(node_record);
if (derive.empty()) {
derive = "Clone";
derive = "Debug, Clone";
}

if (bt == BindType::OpaquePtr) {
Expand Down

0 comments on commit 66237dd

Please sign in to comment.