limit language stat to one decimal
@@ -118,7 +118,7 @@ impl std::fmt::Display for Info {
};
for (cnt, language) in languages.iter().enumerate() {
- let formatted_number = format!("{:.*}", 2, language.1);
+ let formatted_number = format!("{:.*}", 1, language.1);
if cnt != 0 && cnt % 3 == 0 {
s = s + &format!("\n{}{} ({} %) ", pad, language.0, formatted_number);
} else {
