Format the workspace (cargo fmt)

This commit is contained in:
glances-rs
2026-10-10 00:00:42 +00:00
parent 6819ce4e18
commit a522d21b0b
+7 -9
View File
@@ -250,9 +250,8 @@ impl Plugin for AmpsPlugin {
format!("{name}: {result}") format!("{name}: {result}")
}; };
ret.push(self.model.curse_new_line()); ret.push(self.model.curse_new_line());
ret.push( ret.push(self.model.curse_add_line(
self.model.curse_add_line( format!(
format!(
"{:<width$}", "{:<width$}",
display_name display_name
.chars() .chars()
@@ -260,12 +259,11 @@ impl Plugin for AmpsPlugin {
.collect::<String>(), .collect::<String>(),
width = name_max_width width = name_max_width
), ),
glances_core::Decoration::Default, glances_core::Decoration::Default,
false, false,
false, false,
false, false,
), ));
);
ret.push(self.model.curse_add_line( ret.push(self.model.curse_add_line(
format!("{count:>9}"), format!("{count:>9}"),
self.model.view_decoration(Some(name), "count"), self.model.view_decoration(Some(name), "count"),