Enable clippy::needless_lifetimes
(#8777)
This PR enables the [`clippy::needless_lifetimes`](https://rust-lang.github.io/rust-clippy/master/index.html#/needless_lifetimes) rule and fixes the outstanding violations. Release Notes: - N/A
This commit is contained in:
parent
1fa9496334
commit
53630dc74c
13 changed files with 67 additions and 78 deletions
|
@ -2845,10 +2845,10 @@ mod tests {
|
|||
))
|
||||
}
|
||||
#[track_caller]
|
||||
fn assert_key_bindings_for<'a>(
|
||||
fn assert_key_bindings_for(
|
||||
window: AnyWindowHandle,
|
||||
cx: &TestAppContext,
|
||||
actions: Vec<(&'static str, &'a dyn Action)>,
|
||||
actions: Vec<(&'static str, &dyn Action)>,
|
||||
line: u32,
|
||||
) {
|
||||
let available_actions = cx
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue