Skip to content

Commit

Permalink
make clippy happy? (:
Browse files Browse the repository at this point in the history
  • Loading branch information
timopruesse committed Apr 5, 2022
1 parent e9a63af commit da46486
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/commands/copy.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ impl CommandInterface for CopyDirCommand {
fn install(&self, args: Yaml, _temp_dir: &str, _default_shell: &Shell) -> Result<(), String> {
let dirs = get_source_and_target(args);
if let Err(err_dirs) = dirs {
return Err(format!("{}", err_dirs.to_string()));
return Err(err_dirs);
}
let dirs = dirs.unwrap();

Expand Down

0 comments on commit da46486

Please sign in to comment.