diff options
Diffstat (limited to 'src/commands/rename_file.rs')
-rw-r--r-- | src/commands/rename_file.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/commands/rename_file.rs b/src/commands/rename_file.rs index 8d666d3..23ae1fd 100644 --- a/src/commands/rename_file.rs +++ b/src/commands/rename_file.rs @@ -22,7 +22,6 @@ impl RenameFile { &self, path: &path::PathBuf, context: &mut JoshutoContext, - backend: &mut TuiBackend, ) -> std::io::Result<()> { let new_path = &self.path; if new_path.exists() { @@ -58,7 +57,7 @@ impl JoshutoRunnable for RenameFile { } if let Some(path) = path { - self.rename_file(&path, context, backend)?; + self.rename_file(&path, context)?; } Ok(()) } |