Merge rust-bitcoin/rust-bitcoin#4223: primitives: Feature gate import

0428554585 primitives: Feature gate import (Tobin C. Harding)

Pull request description:

  Feature gate the `Infallible` import. Found with `clippy`.

ACKs for top commit:
  apoelstra:
    ACK 0428554585de668e2a59fa61e44b473f4085d717; successfully ran local tests

Tree-SHA512: 23bf7d62d81af87b67395ddee251cef82140895be76026c43c774997c29f2ed2707bf42e82d0a155a5cff83412538cb2ed5251f10c0e0cb746434a8d7db8e554
This commit is contained in:
merge-script 2025-03-10 15:26:57 +00:00
commit 3bb1a7acea
No known key found for this signature in database
GPG Key ID: C588D63CE41B97C1
1 changed files with 1 additions and 0 deletions

View File

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