aboutsummaryrefslogtreecommitdiff
path: root/base/src
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2024-01-15 13:17:58 +0100
committermetamuffin <metamuffin@disroot.org>2024-01-15 13:17:58 +0100
commita0fd6f2943d69d2f3e13fcf80fb567bb821eef9f (patch)
treead0cfc71fa1b1a558773686dc93e92f5b546088b /base/src
parenta5ad49451e80cae7ec7f5d2a216084aa30e2e704 (diff)
downloadjellything-a0fd6f2943d69d2f3e13fcf80fb567bb821eef9f.tar
jellything-a0fd6f2943d69d2f3e13fcf80fb567bb821eef9f.tar.bz2
jellything-a0fd6f2943d69d2f3e13fcf80fb567bb821eef9f.tar.zst
cleanup some old code
Diffstat (limited to 'base/src')
-rw-r--r--base/src/temp.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/base/src/temp.rs b/base/src/temp.rs
index 8da85f7..ee44004 100644
--- a/base/src/temp.rs
+++ b/base/src/temp.rs
@@ -3,12 +3,11 @@
which is licensed under the GNU Affero General Public License (version 3); see /COPYING.
Copyright (C) 2023 metamuffin <metamuffin.org>
*/
+use crate::AssetLocationExt;
use anyhow::Context;
use jellycommon::AssetLocation;
use std::{fs::File, sync::atomic::AtomicUsize};
-use crate::AssetLocationExt;
-
static TEMP_COUNTER: AtomicUsize = AtomicUsize::new(0);
pub struct TempFile(pub AssetLocation);