From 4dbf95be9741ef06ba2cac665b43c2c13d86ecf4 Mon Sep 17 00:00:00 2001 From: Kenny Kerr Date: Tue, 3 Sep 2024 07:58:02 -0500 Subject: [PATCH] Nightly Clippy warning about assumed lifetime (#3243) --- crates/libs/bindgen/src/rust/writer.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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())