5
0
mirror of git://git.proxmox.com/git/proxmox-backup.git synced 2025-02-15 05:57:42 +03:00

tools: allow type_complexity on purely internal field

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
Wolfgang Bumiller 2022-07-27 15:19:18 +02:00
parent 19018f9881
commit 64dc5dbf08

View File

@ -27,6 +27,7 @@ pub trait AsyncCacher<K, V: Clone>: Sync + Send {
/// AsyncCacher.
#[derive(Clone)]
pub struct AsyncLruCache<K, V> {
#[allow(clippy::type_complexity)]
maps: Arc<Mutex<(LruCache<K, V>, HashMap<K, BroadcastFuture<Option<V>>>)>>,
}