Skip to content

Commit 3bb1a7a

Browse files
committed
Merge rust-bitcoin#4223: primitives: Feature gate import
0428554 primitives: Feature gate import (Tobin C. Harding) Pull request description: Feature gate the `Infallible` import. Found with `clippy`. ACKs for top commit: apoelstra: ACK 0428554; successfully ran local tests Tree-SHA512: 23bf7d62d81af87b67395ddee251cef82140895be76026c43c774997c29f2ed2707bf42e82d0a155a5cff83412538cb2ed5251f10c0e0cb746434a8d7db8e554
2 parents 694d926 + 0428554 commit 3bb1a7a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

primitives/src/transaction.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
1313
#[cfg(feature = "alloc")]
1414
use core::cmp;
15+
#[cfg(feature = "alloc")]
1516
use core::convert::Infallible;
1617
use core::fmt;
1718

0 commit comments

Comments
 (0)