Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
gfusee committed Oct 23, 2024
1 parent 8b30270 commit b1b9a71
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion caching/src/locked/caching.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ use tokio::sync::{Mutex, RwLock, RwLockReadGuard, RwLockWriteGuard};
use novax::caching::{CachingDurationStrategy, CachingStrategy};
use novax::errors::NovaXError;

#[allow(type_alias_bounds)]
pub type CachingLocked<C: CachingStrategy> = BaseCachingLocked<C, Arc<RwLock<()>>>;

#[async_trait]
Expand Down Expand Up @@ -128,7 +129,7 @@ mod test {

use crate::date::get_current_timestamp::set_mock_time;
use crate::local::caching_local::CachingLocal;
use crate::locked::caching::{BaseCachingLocked, CachingLocked};
use crate::locked::caching::CachingLocked;

#[derive(Clone, Debug)]
struct CachingLocalDelayedSet {
Expand Down

0 comments on commit b1b9a71

Please sign in to comment.