fix(layout-cache): import NonZeroUsize only when layout-cache is enabled (#1839)
This silences unused import warning, when `layout-cache` is disabled.
This commit is contained in:
committed by
GitHub
parent
c238aca83a
commit
2dd1977c59
@@ -1,6 +1,7 @@
|
||||
use alloc::rc::Rc;
|
||||
use alloc::vec::Vec;
|
||||
use core::iter;
|
||||
#[cfg(feature = "layout-cache")]
|
||||
use core::num::NonZeroUsize;
|
||||
|
||||
use hashbrown::HashMap;
|
||||
|
||||
Reference in New Issue
Block a user