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}")
};
ret.push(self.model.curse_new_line());
ret.push(
self.model.curse_add_line(
format!(
ret.push(self.model.curse_add_line(
format!(
"{:<width$}",
display_name
.chars()
@@ -260,12 +259,11 @@ impl Plugin for AmpsPlugin {
.collect::<String>(),
width = name_max_width
),
glances_core::Decoration::Default,
false,
false,
false,
),
);
glances_core::Decoration::Default,
false,
false,
false,
));
ret.push(self.model.curse_add_line(
format!("{count:>9}"),
self.model.view_decoration(Some(name), "count"),