Skip to content

Commit

Permalink
style: added #[allow(clippy::type_complexity)]
Browse files Browse the repository at this point in the history
  • Loading branch information
dr0ps authored and vincent-herlemont committed Jan 7, 2025
1 parent 96138b0 commit 95e245e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/transaction/query/scan/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ impl RScan<'_, '_> {
Ok(out)
}

#[allow(clippy::type_complexity)]
/// Get a values from the database by secondary key.
///
/// - [`all`](crate::transaction::query::PrimaryScan::all) - Scan all items.
Expand Down Expand Up @@ -75,6 +76,7 @@ where
Ok(out)
}

#[allow(clippy::type_complexity)]
/// Get a values from the database by secondary key.
///
/// - [`all`](crate::transaction::query::PrimaryScan::all) - Scan all items.
Expand Down
1 change: 1 addition & 0 deletions src/watch/sender.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ use crate::watch::{Event, MpscSender};
use std::collections::HashMap;
use std::sync::{Arc, Mutex};

#[allow(clippy::type_complexity)]
pub(crate) struct Watchers(HashMap<u64, (TableFilter, Arc<Mutex<MpscSender<Event>>>)>);

impl Watchers {
Expand Down

0 comments on commit 95e245e

Please sign in to comment.