From d4f9fc904de7925850438dc5e3120ac405e106ca Mon Sep 17 00:00:00 2001 From: Austen Adler Date: Thu, 13 May 2021 22:28:07 -0400 Subject: [PATCH] Remove ridiculous println --- src/main.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index eca7aab..f8ba608 100644 --- a/src/main.rs +++ b/src/main.rs @@ -416,7 +416,6 @@ fn fmt_engineering(f: f64, precision: usize) -> String { .replacen(".", "", 1) // Add 00E before E here so the length is enough for slicing below .replacen("E", "00E", 1); - println!("{}", all); // Extract mantissa and the string representation of the exponent. Unwrap should be safe as formatter will insert E // 1000E3 => (1000, E3) let (num_str, exp_str) = all.split_at(all.find('E').unwrap());