fix: cargo fmt added to create_release

This commit is contained in:
Jack Wills
2022-04-25 02:53:14 +00:00
parent 3fb48abb87
commit bb29c0ebfa
7 changed files with 18 additions and 21 deletions
+2 -2
View File
@@ -232,7 +232,7 @@ impl Stats for CpuStats {
impl fmt::Display for CpuStats {
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
let disp = format!("{:05.2}%", self.value);
write!(f, "{:>x$}", disp, x = f.width().unwrap_or(1))
write!(f, "{:>x$}", disp, x = f.width().unwrap_or(1))
}
}
@@ -411,7 +411,7 @@ pub struct Columns {
impl Columns {
pub fn new() -> Self {
Self {
// 7 to allow for 100.00%
// 7 to allow for 100.00%
cpu: (String::from("cpu"), 7),
image: (String::from("image"), 5),
name: (String::from("name"), 4),