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 fc747b7 commit ad9af55Copy full SHA for ad9af55
bindgen/codegen/mod.rs
@@ -3749,7 +3749,7 @@ impl CodeGenerator for Enum {
3749
3750
utils::call_discovered_item_callback(ctx, item, || {
3751
DiscoveredItem::Enum {
3752
- final_name: name.to_string(),
+ final_name: name.clone(),
3753
}
3754
});
3755
@@ -4653,7 +4653,7 @@ impl CodeGenerator for Function {
4653
4654
4655
DiscoveredItem::Function {
4656
- final_name: canonical_name.to_string(),
+ final_name: canonical_name.clone(),
4657
4658
4659
0 commit comments