summaryrefslogtreecommitdiffstats
path: root/src/commands/rename_file.rs
diff options
context:
space:
mode:
authorJiayi Zhao <jeff.no.zhao@gmail.com>2019-06-27 22:23:09 -0400
committerJiayi Zhao <jeff.no.zhao@gmail.com>2019-06-27 22:23:09 -0400
commite04a0635c0732a6b04893f9d8b49529c221b76a0 (patch)
tree53364c42839798b320a2eaa48706fe71a222264b /src/commands/rename_file.rs
parenta140825eb453173323df75eba546f1fb7c9dc47b (diff)
populate_to_root now returns a Result
Diffstat (limited to 'src/commands/rename_file.rs')
-rw-r--r--src/commands/rename_file.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commands/rename_file.rs b/src/commands/rename_file.rs
index cca52a2..a43de07 100644
--- a/src/commands/rename_file.rs
+++ b/src/commands/rename_file.rs
@@ -33,7 +33,7 @@ impl RenameFile {
path: &path::PathBuf,
context: &mut JoshutoContext,
view: &JoshutoView,
- ) -> Result<(), std::io::Error> {
+ ) -> std::io::Result<()> {
let new_path = &self.path;
if new_path.exists() {
let err =