Skip to content

Commit 0428554

Browse files
committed
primitives: Feature gate import
Feature gate the `Infallible` import. Found with `clippy`.
1 parent b1d7c0a commit 0428554

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)