summaryrefslogtreecommitdiffstats
path: root/src/commands/reload_dir.rs
diff options
context:
space:
mode:
authorJiayi Zhao <jeff.no.zhao@gmail.com>2019-04-29 18:22:44 -0400
committerJiayi Zhao <jeff.no.zhao@gmail.com>2019-04-30 11:05:47 -0400
commit36d8299f224b044139d52c0f65eb66be4c25a5d0 (patch)
tree5f99fdfff153ab9f39c1d3ed77f9f18ef3c2d5d3 /src/commands/reload_dir.rs
parent4bbe0969006eab7cfe3a47231d5e002b5259e19b (diff)
cargo clippy
Diffstat (limited to 'src/commands/reload_dir.rs')
-rw-r--r--src/commands/reload_dir.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commands/reload_dir.rs b/src/commands/reload_dir.rs
index 8958671..8891688 100644
--- a/src/commands/reload_dir.rs
+++ b/src/commands/reload_dir.rs
@@ -46,7 +46,7 @@ impl JoshutoRunnable for ReloadDirList {
ncurses::doupdate();
Ok(())
}
- Err(e) => return Err(JoshutoError::IO(e)),
+ Err(e) => Err(JoshutoError::IO(e)),
}
}
}