cargo fmt

This commit is contained in:
Trevor Bentley
2023-01-12 21:02:59 +01:00
parent 99cdc02af5
commit 51007c68b8
2 changed files with 20 additions and 17 deletions
+4 -2
View File
@@ -126,8 +126,10 @@ macro_rules! output_path_fn {
_ => tmpl_str,
};
let tmpl = PathBuf::from(tmpl_str);
let mut path = self.path.clone().canonicalize()
.expect(&format!("ERROR: unable to canonicalize output path: {}", self.path.display()));
let mut path = self.path.clone().canonicalize().expect(&format!(
"ERROR: unable to canonicalize output path: {}",
self.path.display()
));
path.push(tmpl);
match $is_dir {
true => {