diff options
author | Jiayi Zhao <jeff.no.zhao@gmail.com> | 2019-06-27 22:23:09 -0400 |
---|---|---|
committer | Jiayi Zhao <jeff.no.zhao@gmail.com> | 2019-06-27 22:23:09 -0400 |
commit | e04a0635c0732a6b04893f9d8b49529c221b76a0 (patch) | |
tree | 53364c42839798b320a2eaa48706fe71a222264b /src/commands/change_directory.rs | |
parent | a140825eb453173323df75eba546f1fb7c9dc47b (diff) |
populate_to_root now returns a Result
Diffstat (limited to 'src/commands/change_directory.rs')
-rw-r--r-- | src/commands/change_directory.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commands/change_directory.rs b/src/commands/change_directory.rs index 6a63e7c..27fa809 100644 --- a/src/commands/change_directory.rs +++ b/src/commands/change_directory.rs @@ -33,7 +33,7 @@ impl ChangeDirectory { curr_tab .history - .populate_to_root(&curr_tab.curr_path, &context.config_t.sort_option); + .populate_to_root(&curr_tab.curr_path, &context.config_t.sort_option)?; let mut new_curr_list = curr_tab .history |