build: treewide: clippy for edition 2024

This commit includes all simple clippy fixes excluding the
collapsing of nested ifs using the let-chains feature. This
follows in the next commit.

Signed-off-by: Philipp Schuster <philipp.schuster@cyberus-technology.de>
On-behalf-of: SAP philipp.schuster@sap.com
This commit is contained in:
Philipp Schuster
2025-08-15 08:58:55 +02:00
committed by Bo Chen
parent 363273111a
commit f73a6c8d8e
2 changed files with 2 additions and 2 deletions

View File

@@ -522,8 +522,7 @@ fn temp_snapshot_dir_path(tmp_dir: &TempDir) -> String {
}
fn temp_vmcore_file_path(tmp_dir: &TempDir) -> String {
let vmcore_file = String::from(tmp_dir.as_path().join("vmcore").to_str().unwrap());
vmcore_file
String::from(tmp_dir.as_path().join("vmcore").to_str().unwrap())
}
// Creates the path for direct kernel boot and return the path.