diff options
Diffstat (limited to 'src/commands/file_ops/local_state.rs')
-rw-r--r-- | src/commands/file_ops/local_state.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/commands/file_ops/local_state.rs b/src/commands/file_ops/local_state.rs index 2849893..12ffa6c 100644 --- a/src/commands/file_ops/local_state.rs +++ b/src/commands/file_ops/local_state.rs @@ -46,8 +46,7 @@ impl LocalState { } pub fn take_selected_files() -> Option<Vec<path::PathBuf>> { - let paths = SELECTED_FILES.lock().unwrap().take(); - paths + SELECTED_FILES.lock().unwrap().take() } pub fn get_file_operation() -> FileOp { |