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:
Jagoda Estera Ślązak
2025-05-10 17:09:47 +02:00
committed by GitHub
parent c238aca83a
commit 2dd1977c59

View File

@@ -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;