We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1e2e80f commit a0884cfCopy full SHA for a0884cf
bindgen/codegen/mod.rs
@@ -3747,7 +3747,7 @@ impl CodeGenerator for Enum {
3747
3748
utils::call_discovered_item_callback(ctx, item, || {
3749
DiscoveredItem::Enum {
3750
- final_name: name.to_string(),
+ final_name: name.clone(),
3751
}
3752
});
3753
@@ -4651,7 +4651,7 @@ impl CodeGenerator for Function {
4651
4652
4653
DiscoveredItem::Function {
4654
- final_name: canonical_name.to_string(),
+ final_name: canonical_name.clone(),
4655
4656
4657
0 commit comments