Fix clippy::needless_borrow lint violations (#36444)
Release Notes: - N/A
This commit is contained in:
parent
eecf142f06
commit
9e0e233319
242 changed files with 801 additions and 821 deletions
|
@ -104,6 +104,6 @@ pub fn apply_related_actions(editor: &Entity<Editor>, window: &mut Window, cx: &
|
|||
.filter_map(|buffer| buffer.read(cx).language())
|
||||
.any(|language| is_c_language(language))
|
||||
{
|
||||
register_action(&editor, window, switch_source_header);
|
||||
register_action(editor, window, switch_source_header);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue