diff options
author | Jiayi Zhao <jeff.no.zhao@gmail.com> | 2019-04-20 18:13:01 -0400 |
---|---|---|
committer | Jiayi Zhao <jeff.no.zhao@gmail.com> | 2019-04-20 18:13:01 -0400 |
commit | 2f897531b41a21c5ed112d18f41f79078e6144b1 (patch) | |
tree | 2455612c50a6b03a6c405e86e912749ec693a1a9 /src/tab.rs | |
parent | d6dcbc78792396eafeb6ef8f3fb01b03e22ce550 (diff) |
use rustyline for textfield implementation
Diffstat (limited to 'src/tab.rs')
-rw-r--r-- | src/tab.rs | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -42,15 +42,15 @@ impl JoshutoTab { let mut list = self.curr_list.take(); if let Some(ref mut s) = list { if s.path.exists() { - s.update_contents(sort_option).unwrap(); + s.update_contents(sort_option); } }; self.curr_list = list; - list = self.parent_list.take(); + let mut list = self.parent_list.take(); if let Some(ref mut s) = list { if s.path.exists() { - s.update_contents(sort_option).unwrap(); + s.update_contents(sort_option); } }; self.parent_list = list; |