Abstract Digit trait, fill the empty space to specific length.
| 10 | mod digit { |
| 11 | /// Abstract Digit trait, fill the empty space to specific length. |
| 12 | pub trait Digit<T> { |
| 13 | fn digit(self, d: T) -> String; |
| 14 | } |
| 15 | |
| 16 | impl Digit<i32> for i32 { |
| 17 | fn digit(self, d: i32) -> String { |
nothing calls this directly
no outgoing calls
no test coverage detected