Remove redundant s in output
This commit is contained in:
parent
6a0d37b69c
commit
d3aa593a6b
@ -92,7 +92,7 @@ macro_rules! p {
|
||||
($name:tt, $rustic_name:ident) => {
|
||||
let (hits, total) = self.query_counts.$rustic_name;
|
||||
let (hits, total) = if total > 0 {
|
||||
(format!("{:.2}%", (((hits as f32) / (total as f32)) * 100.0)), total.to_string())
|
||||
(format!("{:.2}", (((hits as f32) / (total as f32)) * 100.0)), total.to_string())
|
||||
} else {
|
||||
("".into(), "".into())
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user