summaryrefslogtreecommitdiffstats
path: root/src/commands/key_command.rs
diff options
context:
space:
mode:
authorJiayi Zhao <jeff.no.zhao@gmail.com>2020-10-11 15:10:09 -0400
committerJiayi Zhao <jeff.no.zhao@gmail.com>2020-10-11 15:10:09 -0400
commitef1c0d32ed85f7ea54114f674ffbff2923e03040 (patch)
tree763860bbbe8541c2c208bf3af6d02a40c247f0b7 /src/commands/key_command.rs
parent2807cbd6b8a7a5d7e4766e11d7671b8bbf98f290 (diff)
cargo fmt
Diffstat (limited to 'src/commands/key_command.rs')
-rw-r--r--src/commands/key_command.rs4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/commands/key_command.rs b/src/commands/key_command.rs
index c493069..9519e7c 100644
--- a/src/commands/key_command.rs
+++ b/src/commands/key_command.rs
@@ -313,9 +313,7 @@ impl JoshutoRunnable for KeyCommand {
Self::SearchNext => search::search_next(context),
Self::SearchPrev => search::search_prev(context),
- Self::SelectFiles { toggle, all } => {
- selection::select_files(context, *toggle, *all)
- }
+ Self::SelectFiles { toggle, all } => selection::select_files(context, *toggle, *all),
Self::SetMode => set_mode::set_mode(context, backend),
Self::ShellCommand(v) => shell::shell(context, backend, v.as_slice()),