diff options
Diffstat (limited to 'bindgen/codegen/mod.rs')
-rw-r--r-- | bindgen/codegen/mod.rs | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/bindgen/codegen/mod.rs b/bindgen/codegen/mod.rs index e201578e..b4050637 100644 --- a/bindgen/codegen/mod.rs +++ b/bindgen/codegen/mod.rs @@ -2406,18 +2406,7 @@ impl CodeGenerator for CompInfo { } } -trait MethodCodegen { - fn codegen_method( - &self, - ctx: &BindgenContext, - methods: &mut Vec<proc_macro2::TokenStream>, - method_names: &mut HashSet<String>, - result: &mut CodegenResult<'_>, - parent: &CompInfo, - ); -} - -impl MethodCodegen for Method { +impl Method { fn codegen_method( &self, ctx: &BindgenContext, |