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
@@ -267,7 +267,7 @@ impl MemoryRangeTable {
|
||||
}
|
||||
|
||||
pub fn push(&mut self, range: MemoryRange) {
|
||||
self.data.push(range)
|
||||
self.data.push(range);
|
||||
}
|
||||
|
||||
pub fn read_from(fd: &mut dyn Read, length: u64) -> Result<MemoryRangeTable, MigratableError> {
|
||||
@@ -307,7 +307,7 @@ impl MemoryRangeTable {
|
||||
}
|
||||
|
||||
pub fn extend(&mut self, table: Self) {
|
||||
self.data.extend(table.data)
|
||||
self.data.extend(table.data);
|
||||
}
|
||||
|
||||
pub fn new_from_tables(tables: Vec<Self>) -> Self {
|
||||
|
||||
Reference in New Issue
Block a user