chore: Clippy fixes

This commit is contained in:
Ginger committed 2026-08-25 12:37:13 -04:00
1 parent 18b0a87b2d
commit eadcea8034
14 files changed
+66 -52

No files matched your search

+3 -1
View File
@@ -49,12 +49,14 @@ impl Console {
}
}
pub async fn start(self: &Arc<Self>) {
pub fn start(self: &Arc<Self>) -> impl Future<Output = ()> {
let mut worker_join = self.worker_join.lock();
if worker_join.is_none() {
let self_ = Arc::clone(self);
_ = worker_join.insert(self.server.runtime().spawn(self_.worker()));
}
std::future::ready(())
}
pub async fn close(self: &Arc<Self>) {