aboutsummaryrefslogtreecommitdiff
path: root/srchr/src/output.rs
diff options
context:
space:
mode:
authortslil clingman <tslil@posteo.de>2022-09-30 11:07:54 +0200
committertslil clingman <tslil@posteo.de>2022-10-01 01:24:11 +0200
commit60ef0eb8accb31d2dbbf25bee898a59a62cc43f9 (patch)
tree9d519007a86329548b8cd9ef50d7519391d75f11 /srchr/src/output.rs
parenta0a87a49e7fc865bbbab8e83919450c8a991524c (diff)
Big overhaul, corrected sfb, added dsfb, lengthened corpus
Diffstat (limited to 'srchr/src/output.rs')
-rw-r--r--srchr/src/output.rs9
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)
}
}