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 3afa60b commit 3f811a2Copy full SHA for 3f811a2
bindgen/codegen/mod.rs
@@ -3151,7 +3151,9 @@ impl Method {
3151
let custom_attributes = ctx.options().all_callbacks(|cb| {
3152
cb.add_attributes(&AttributeInfo {
3153
name: &canonical_name,
3154
- kind: AttributeItemKind::Function(FunctionKind::Method(self.kind())),
+ kind: AttributeItemKind::Function(FunctionKind::Method(
3155
+ self.kind(),
3156
+ )),
3157
})
3158
});
3159
attrs.extend(custom_attributes.iter().map(|s| s.parse().unwrap()));
0 commit comments