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

View File

@@ -46,7 +46,7 @@ pub mod testing {
// Writes to the actual memory location.
pub fn set(&self, val: T) {
self.mem.write_obj(val, self.location).unwrap()
self.mem.write_obj(val, self.location).unwrap();
}
// This function returns a place in memory which holds a value of type U, and starts
@@ -143,7 +143,7 @@ pub mod testing {
for _ in 1..qsize as usize {
let x = ring.last().unwrap().next_place();
ring.push(x)
ring.push(x);
}
let event = ring.last().unwrap().next_place();