Skip to content

Commit cdc0675

Browse files
committed
units: Feature gate REVERSE
Clippy is warning for unused, feature gate the constant. Not sure how this got past CI ...
1 parent e81a4c2 commit cdc0675

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

primitives/src/hash_types/generic.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
// follow the DRY principle without using macros.
99

1010
const LEN: usize = <Inner as hashes::Hash>::LEN;
11+
#[cfg(feature = "hex")]
1112
const REVERSE: bool = <Inner as hashes::Hash>::DISPLAY_BACKWARD;
1213

1314
impl HashType {

0 commit comments

Comments
 (0)