Skip to content

Commit

Permalink
style(cargo-fmt): apply changes
Browse files Browse the repository at this point in the history
  • Loading branch information
actions-user committed Sep 7, 2024
1 parent abfce91 commit 3f11632
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/helpers/once_lock.rs
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
#[allow(unused_imports)]
use std::sync::{Arc, OnceLock};

#[cfg(feature = "feat-database")]
use diesel::r2d2::ConnectionManager;
#[cfg(feature = "feat-database")]
use diesel::PgConnection;
use crate::app_state::{AppHelpers, MedullahState};
#[cfg(feature = "feat-database")]
use crate::database::DatabaseConnectionHelper;
#[cfg(feature = "feat-redis")]
use crate::services::cache_service::CacheService;
use crate::MEDULLAH;
#[cfg(feature = "feat-database")]
use diesel::r2d2::ConnectionManager;
#[cfg(feature = "feat-database")]
use diesel::PgConnection;

pub trait OnceLockHelper<'a> {
fn app(&self) -> &'a MedullahState {
Expand Down

0 comments on commit 3f11632

Please sign in to comment.