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:
commit
3bb1a7acea
|
@ -12,6 +12,7 @@
|
|||
|
||||
#[cfg(feature = "alloc")]
|
||||
use core::cmp;
|
||||
#[cfg(feature = "alloc")]
|
||||
use core::convert::Infallible;
|
||||
use core::fmt;
|
||||
|
||||
|
|
Loading…
Reference in New Issue