mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2026-11-16 05:36:50 +00:00
Simplify default Result generics.
Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
1 parent
8244d78cb2
commit
ae707ab465
42 files changed
+95
-115
No files matched your search
@@ -161,7 +161,7 @@ impl Services {
|
||||
debug_info!("Services shutdown complete.");
|
||||
}
|
||||
|
||||
pub async fn poll(&self) -> Result<()> {
|
||||
pub async fn poll(&self) -> Result {
|
||||
if let Some(manager) = self.manager.lock().await.as_ref() {
|
||||
return manager.poll().await;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user