misc: clippy: add semicolon_if_nothing_returned

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-11-18 12:26:21 +01:00
committed by Rob Bradford
parent ea4f07d3bf
commit b4c62bf159
64 changed files with 244 additions and 236 deletions
+2 -2
View File
@@ -1466,7 +1466,7 @@ impl Vmm {
// Wait for all the threads to finish
for thread in self.threads.drain(..) {
thread.join().map_err(Error::ThreadCleanup)?
thread.join().map_err(Error::ThreadCleanup)?;
}
Ok(())
@@ -2214,7 +2214,7 @@ impl RequestHandler for Vmm {
})?;
if existing_memory_files.is_none() {
existing_memory_files = Some(HashMap::default())
existing_memory_files = Some(HashMap::default());
}
if let Some(ref mut existing_memory_files) = existing_memory_files {