diff options
Diffstat (limited to 'srchr/src/output.rs')
| -rw-r--r-- | srchr/src/output.rs | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/srchr/src/output.rs b/srchr/src/output.rs index b5af9e7..dec079d 100644 --- a/srchr/src/output.rs +++ b/srchr/src/output.rs @@ -13,17 +13,10 @@ impl ToMyString for char { } } -impl ToMyString for u32 { - const BLANK_STRING: &'static str = " "; - fn to_my_string(&self) -> String { - format!("{:5}", *self) - } -} - impl ToMyString for f32 { const BLANK_STRING: &'static str = " "; fn to_my_string(&self) -> String { - format!("{:>4.1}", *self) + format!("{:>5.2}", *self) } } |
