Skip to content

Commit e4f4be5

Browse files
committed
chore: linting
1 parent 8214eec commit e4f4be5

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

thoth-api/src/storage/mod.rs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -276,17 +276,13 @@ pub fn build_cdn_url(cdn_domain: &str, object_key: &str) -> String {
276276
pub(crate) mod tests {
277277
use super::*;
278278
use crate::model::Timestamp;
279-
use std::sync::{Mutex, MutexGuard};
279+
use std::sync::Mutex;
280280
use uuid::Uuid;
281281

282282
lazy_static::lazy_static! {
283283
static ref ENV_LOCK: Mutex<()> = Mutex::new(());
284284
}
285285

286-
pub(crate) fn env_lock() -> MutexGuard<'static, ()> {
287-
ENV_LOCK.lock().unwrap()
288-
}
289-
290286
fn create_test_imprint_with_storage() -> Imprint {
291287
Imprint {
292288
imprint_id: Uuid::new_v4(),

0 commit comments

Comments
 (0)