aboutsummaryrefslogtreecommitdiff
path: root/mingling/src/res/dirs/temp_dir.rs
diff options
context:
space:
mode:
Diffstat (limited to 'mingling/src/res/dirs/temp_dir.rs')
-rw-r--r--mingling/src/res/dirs/temp_dir.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/mingling/src/res/dirs/temp_dir.rs b/mingling/src/res/dirs/temp_dir.rs
index f4f0dca..343d9c7 100644
--- a/mingling/src/res/dirs/temp_dir.rs
+++ b/mingling/src/res/dirs/temp_dir.rs
@@ -40,7 +40,9 @@ impl From<PathBuf> for ResTempDir {
impl From<&Path> for ResTempDir {
fn from(path: &Path) -> Self {
- Self { tmp: path.to_path_buf() }
+ Self {
+ tmp: path.to_path_buf(),
+ }
}
}