diff options
| author | 魏曹先生 <1992414357@qq.com> | 2026-08-10 14:57:16 +0800 |
|---|---|---|
| committer | 魏曹先生 <1992414357@qq.com> | 2026-08-10 14:57:16 +0800 |
| commit | 782d2458dc4ad4336e1407e1f107e43e39b0b991 (patch) | |
| tree | 2619912357c03cae32190388e9436e15431c298c /mingling/src/res/dirs/temp_dir.rs | |
| parent | 6b18873666e17ab68ffce799b1707c030166738f (diff) | |
chore: enforce pedantic clippy lints and fix warnings
Diffstat (limited to 'mingling/src/res/dirs/temp_dir.rs')
| -rw-r--r-- | mingling/src/res/dirs/temp_dir.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/mingling/src/res/dirs/temp_dir.rs b/mingling/src/res/dirs/temp_dir.rs index 343d9c7..c79a974 100644 --- a/mingling/src/res/dirs/temp_dir.rs +++ b/mingling/src/res/dirs/temp_dir.rs @@ -21,6 +21,7 @@ impl ResTempDir { /// /// This method is infallible since `std::env::temp_dir()` always succeeds, /// returning a platform-specific default when environment variables are unset. + #[must_use] pub fn new() -> Self { Self { tmp: temp_dir() } } |
