misc: Automatically fix cargo clippy issues added in 1.68 (beta)

Signed-off-by: Bo Chen <chen.bo@intel.com>
This commit is contained in:
Bo Chen
2023-01-25 14:08:38 -08:00
committed by Bo Chen
parent aaf67c9ae4
commit 574576c8e9
4 changed files with 14 additions and 50 deletions

View File

@@ -168,7 +168,6 @@ fn parse_boot_time_output(output: &[u8]) -> Result<f64, Error> {
std::panic::catch_unwind(|| {
let l: Vec<String> = String::from_utf8_lossy(output)
.lines()
.into_iter()
.filter(|l| l.contains("Debug I/O port: Kernel code"))
.map(|l| l.to_string())
.collect();