Keybindings should provide Action to command bar #124
reviewdog [clippy] report
reported by reviewdog 🐶
Findings (1)
crates/modalkit-ratatui/src/screen.rs|377 col 79| warning: this expression creates a reference which is immediately dereferenced by the compiler
--> crates/modalkit-ratatui/src/screen.rs:377:79
|
377 | CommandBarAction::Focus(s, ct, act) => self.focus_command(s, *ct, &act, ctx),
| ^^^^ help: change this to: act
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
= note: #[warn(clippy::needless_borrow)]
on by default
Filtered Findings (0)
Annotations
Check warning on line 377 in crates/modalkit-ratatui/src/screen.rs
github-actions / clippy
[clippy] crates/modalkit-ratatui/src/screen.rs#L377
warning: this expression creates a reference which is immediately dereferenced by the compiler
--> crates/modalkit-ratatui/src/screen.rs:377:79
|
377 | CommandBarAction::Focus(s, ct, act) => self.focus_command(s, *ct, &act, ctx),
| ^^^^ help: change this to: `act`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
= note: `#[warn(clippy::needless_borrow)]` on by default
Raw output
crates/modalkit-ratatui/src/screen.rs:377:79:w:warning: this expression creates a reference which is immediately dereferenced by the compiler
--> crates/modalkit-ratatui/src/screen.rs:377:79
|
377 | CommandBarAction::Focus(s, ct, act) => self.focus_command(s, *ct, &act, ctx),
| ^^^^ help: change this to: `act`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
= note: `#[warn(clippy::needless_borrow)]` on by default
__END__