diff options
author | Jiayi Zhao <jeff.no.zhao@gmail.com> | 2019-06-04 15:14:13 -0400 |
---|---|---|
committer | Jiayi Zhao <jeff.no.zhao@gmail.com> | 2019-06-04 15:14:13 -0400 |
commit | fd4bd6f79ec8051c91f69543fc20d5e8d6607f13 (patch) | |
tree | dda624a98d9aec467f2b7a11375b682e38739169 /src/commands/reload_dir.rs | |
parent | a521ceb379c34c854fb4e9848c0bcb7d28b46f4f (diff) |
cargo fmt
Diffstat (limited to 'src/commands/reload_dir.rs')
-rw-r--r-- | src/commands/reload_dir.rs | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/commands/reload_dir.rs b/src/commands/reload_dir.rs index df8e9d9..eb13d34 100644 --- a/src/commands/reload_dir.rs +++ b/src/commands/reload_dir.rs @@ -17,10 +17,7 @@ impl ReloadDirList { "reload_dir_list" } - pub fn reload( - index: usize, - context: &mut JoshutoContext - ) -> Result<(), std::io::Error> { + pub fn reload(index: usize, context: &mut JoshutoContext) -> Result<(), std::io::Error> { let curr_tab = &mut context.tabs[index]; let sort_option = &context.config_t.sort_option; curr_tab.curr_list.update_contents(sort_option)?; |