Add rust lint CI job. (#9)
All checks were successful
Check / Check Rust (push) Successful in 20s

Additionally fix the many lint errors that are occurring. (or disable them).

Reviewed-on: #9
Co-authored-by: Drew Galbraith <drew@tiramisu.one>
Co-committed-by: Drew Galbraith <drew@tiramisu.one>
This commit is contained in:
Drew 2025-12-14 09:02:59 +00:00 committed by Drew
parent 311755c812
commit 1a48911745
30 changed files with 177 additions and 108 deletions

View file

@ -57,9 +57,8 @@ impl YellowstoneServerContext {
pub fn wait(&self, service: &str) -> Result<(), ZError> {
loop {
match self.service_map.lock().get(service) {
Some(_) => return Ok(()),
None => {}
if self.service_map.lock().get(service).is_some() {
return Ok(());
}
self.registration_semaphore.wait().unwrap();
}