]> git.proxmox.com Git - proxmox-backup.git/commitdiff
tools: allow type_complexity on purely internal field
authorWolfgang Bumiller <w.bumiller@proxmox.com>
Wed, 27 Jul 2022 13:19:18 +0000 (15:19 +0200)
committerWolfgang Bumiller <w.bumiller@proxmox.com>
Wed, 27 Jul 2022 13:19:20 +0000 (15:19 +0200)
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
pbs-tools/src/async_lru_cache.rs

index a4781ac4a3a1dc6cccf3b3df426fe3039d29f1e2..1f023d34507c544812131d6b59c9400bab388579 100644 (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>>>)>>,
 }