Clippy fixes for Rust 1.58 (#733)

* Clippy fixes for Rust 1.58

* Try different message
This commit is contained in:
JT
2022-01-14 06:40:25 +11:00
committed by GitHub
parent 1ecbebb24a
commit bc1e1aa944
11 changed files with 11 additions and 19 deletions

View File

@ -193,11 +193,7 @@ fn create_grid_output(
.unwrap_or_default();
// eprintln!("ansi_style: {:?}", &ansi_style);
let item = format!(
"{} {}",
icon_style.apply(icon).to_string(),
ansi_style.apply(value).to_string()
);
let item = format!("{} {}", icon_style.apply(icon), ansi_style.apply(value));
let mut cell = Cell::from(item);
cell.alignment = Alignment::Left;