We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents ff0dbdc + b5a0ebb commit a1079e1Copy full SHA for a1079e1
src/display_utils.rs
@@ -1,4 +1,4 @@
1
-use core::fmt::{Binary, Debug, LowerHex};
+use core::fmt::{Debug, LowerHex};
2
3
pub struct HexNum<N: LowerHex>(pub N);
4
@@ -7,11 +7,3 @@ impl<N: LowerHex> Debug for HexNum<N> {
7
LowerHex::fmt(&self.0, f)
8
}
9
10
-
11
-pub struct BinNum<N: Binary>(pub N);
12
13
-impl<N: Binary> Debug for BinNum<N> {
14
- fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result {
15
- Binary::fmt(&self.0, f)
16
- }
17
-}
0 commit comments