diff --git a/crates/libs/bindgen/src/rust/writer.rs b/crates/libs/bindgen/src/rust/writer.rs index c4cf767e8f..47cb37c944 100644 --- a/crates/libs/bindgen/src/rust/writer.rs +++ b/crates/libs/bindgen/src/rust/writer.rs @@ -374,7 +374,7 @@ impl Writer { pub fn generic_params<'b>( &'b self, params: &'b [metadata::SignatureParam], - ) -> impl Iterator + 'b { + ) -> impl Iterator + 'b { params .iter() .filter(move |param| param.is_convertible())