aboutsummaryrefslogtreecommitdiff
path: root/mingling/src/res/dirs/temp_dir.rs
diff options
context:
space:
mode:
author魏曹先生 <1992414357@qq.com>2026-07-02 04:22:30 +0800
committer魏曹先生 <1992414357@qq.com>2026-07-02 04:22:30 +0800
commit8128f2c94313b2e9b9d0b5c3350623f77bbb2521 (patch)
tree9e542eeaaae148b8cccaa01608d75ed1fc463869 /mingling/src/res/dirs/temp_dir.rs
parent3f24e5b6ead1e153408ae5e58ad34636fe614645 (diff)
chore: run cargo fmt and rearrange re-exports in minglingnext
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(),
+ }
}
}