mirror of
git://git.proxmox.com/git/proxmox-backup.git
synced 2025-01-05 09:17:59 +03:00
tools: add missing cfg(test) macro
Fixes the rustc warning: warning: struct `TestAsyncCacher` is never constructed --> pbs-tools/src/async_lru_cache.rs:86:12 | 86 | struct TestAsyncCacher { | ^^^^^^^^^^^^^^^ | = note: `#[warn(dead_code)]` on by default Signed-off-by: Maximiliano Sandoval <m.sandoval@proxmox.com>
This commit is contained in:
parent
cef764ff85
commit
f4130d531f
@ -80,6 +80,7 @@ impl<K: std::cmp::Eq + std::hash::Hash + Copy, V: Clone + Send + 'static> AsyncL
|
||||
}
|
||||
}
|
||||
|
||||
#[cfg(test)]
|
||||
mod test {
|
||||
use super::*;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user