Format the workspace (cargo fmt)
This commit is contained in:
@@ -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"),
|
||||
|
||||
Reference in New Issue
Block a user