Skip to content

Commit

Permalink
Fix typo in needless_lifetimes test
Browse files Browse the repository at this point in the history
  • Loading branch information
smoelius committed Aug 18, 2024
1 parent 5c11dd1 commit 21659f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/ui/needless_lifetimes.rs
Original file line number Diff line number Diff line change
Expand Up @@ -384,7 +384,7 @@ mod nested_elision_sites {
f()
}
// lint
fn where_clause_elidadable<'a, T>(i: &'a i32, f: T) -> &'a i32
fn where_clause_elidable<'a, T>(i: &'a i32, f: T) -> &'a i32
where
T: Fn(&i32) -> &i32,
{
Expand Down

0 comments on commit 21659f1

Please sign in to comment.