misc: clippy: add unnecessary_semicolon

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:23:48 +01:00
committed by Rob Bradford
parent 06390342a6
commit 7cb73e9e56
36 changed files with 72 additions and 73 deletions

View File

@@ -275,7 +275,7 @@ impl RateLimiterGroup {
error!("rate-limit-group worker panicked");
exit_evt.write(1).unwrap();
}
};
}
})
.map(|thread| self.epoll_thread.insert(thread))
.map_err(Error::ThreadSpawn)?;

View File

@@ -491,12 +491,12 @@ impl RateLimiter {
BucketUpdate::Disabled => guard.bandwidth = None,
BucketUpdate::Update(tb) => guard.bandwidth = Some(tb),
BucketUpdate::None => (),
};
}
match ops {
BucketUpdate::Disabled => guard.ops = None,
BucketUpdate::Update(tb) => guard.ops = Some(tb),
BucketUpdate::None => (),
};
}
}
}