Skip to content

Commit a1079e1

Browse files
authored
Merge pull request #46 from mstange/push-orvpvtzxwmpy
Remove unused struct BinNum.
2 parents ff0dbdc + b5a0ebb commit a1079e1

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

src/display_utils.rs

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
use core::fmt::{Binary, Debug, LowerHex};
1+
use core::fmt::{Debug, LowerHex};
22

33
pub struct HexNum<N: LowerHex>(pub N);
44

@@ -7,11 +7,3 @@ impl<N: LowerHex> Debug for HexNum<N> {
77
LowerHex::fmt(&self.0, f)
88
}
99
}
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

Comments
 (0)