Skip to content

Commit

Permalink
Nightly Clippy warning about assumed lifetime (#3243)
Browse files Browse the repository at this point in the history
  • Loading branch information
kennykerr authored Sep 3, 2024
1 parent ef06753 commit 4dbf95b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/libs/bindgen/src/rust/writer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,7 @@ impl Writer {
pub fn generic_params<'b>(
&'b self,
params: &'b [metadata::SignatureParam],
) -> impl Iterator<Item = (usize, &metadata::SignatureParam)> + 'b {
) -> impl Iterator<Item = (usize, &'b metadata::SignatureParam)> + 'b {
params
.iter()
.filter(move |param| param.is_convertible())
Expand Down

0 comments on commit 4dbf95b

Please sign in to comment.