diff options
author | Caleb Bassi <calebjbassi@gmail.com> | 2019-02-15 19:13:42 -0800 |
---|---|---|
committer | Caleb Bassi <calebjbassi@gmail.com> | 2019-02-15 19:37:29 -0800 |
commit | 8b04fec104cd20b86ff98f4da225bb866a407f8c (patch) | |
tree | f9b58da3f2a107d136a66c61d08dead883965864 /src/commands/parent_directory.rs | |
parent | 055ac602929af367da2af77999e73de6bf8fd344 (diff) |
Fix most clippy lints
Diffstat (limited to 'src/commands/parent_directory.rs')
-rw-r--r-- | src/commands/parent_directory.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commands/parent_directory.rs b/src/commands/parent_directory.rs index d9066c6..d158d3b 100644 --- a/src/commands/parent_directory.rs +++ b/src/commands/parent_directory.rs @@ -17,7 +17,7 @@ impl ParentDirectory { } pub fn parent_directory(context: &mut JoshutoContext) { - if context.curr_tab_mut().curr_path.pop() == false { + if !context.curr_tab_mut().curr_path.pop() { return; } |