primitives: Feature gate import

Feature gate the `Infallible` import. Found with `clippy`.
This commit is contained in:
Tobin C. Harding 2025-03-09 05:57:03 +11:00
parent b1d7c0a0a2
commit 0428554585
No known key found for this signature in database
GPG Key ID: 40BF9E4C269D6607
1 changed files with 1 additions and 0 deletions

View File

@ -12,6 +12,7 @@
#[cfg(feature = "alloc")]
use core::cmp;
#[cfg(feature = "alloc")]
use core::convert::Infallible;
use core::fmt;