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