mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
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:
committed by
Rob Bradford
parent
ea4f07d3bf
commit
b4c62bf159
@@ -23,7 +23,7 @@ impl MemorySlotAllocator {
|
||||
|
||||
/// Release memory slot for reuse
|
||||
pub fn free_memory_slot(&mut self, slot: u32) {
|
||||
self.memory_slot_free_list.lock().unwrap().push(slot)
|
||||
self.memory_slot_free_list.lock().unwrap().push(slot);
|
||||
}
|
||||
|
||||
/// Instantiate struct
|
||||
|
||||
Reference in New Issue
Block a user