From 60ef0eb8accb31d2dbbf25bee898a59a62cc43f9 Mon Sep 17 00:00:00 2001 From: tslil clingman Date: Fri, 30 Sep 2022 11:07:54 +0200 Subject: Big overhaul, corrected sfb, added dsfb, lengthened corpus --- srchr/src/output.rs | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'srchr/src/output.rs') 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) } } -- cgit v1.3.1