summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeff Zhao <jeff.no.zhao@gmail.com>2022-04-17 21:34:05 -0400
committerJeff Zhao <jeff.no.zhao@gmail.com>2022-04-17 21:34:05 -0400
commitd78e36a0648f580ad950e6dc26b886de7fed180b (patch)
tree4f0af7c3880e80f360789cc5c45aecd023dd516b
parent280e4b741e86ae9637a169345dbd14cf344f69c6 (diff)
cargo fmt
-rw-r--r--src/commands/sub_process.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/commands/sub_process.rs b/src/commands/sub_process.rs
index db699dd..e3e2e5e 100644
--- a/src/commands/sub_process.rs
+++ b/src/commands/sub_process.rs
@@ -16,7 +16,8 @@ fn execute_sub_process(
"%s" => {
if let Some(curr_list) = context.tab_context_ref().curr_tab_ref().curr_list_ref() {
let mut i = 0;
- curr_list.iter_selected()
+ curr_list
+ .iter_selected()
.map(|e| e.file_name())
.for_each(|file_name| {
command.arg(file_name);