From 51afbc89ce93b7c78497d49faba1b445b6936bfa Mon Sep 17 00:00:00 2001 From: asonix Date: Thu, 17 Nov 2022 23:50:24 -0600 Subject: [PATCH] clippy --- jobs-actix/src/server.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/jobs-actix/src/server.rs b/jobs-actix/src/server.rs index 56fd376..5f041f1 100644 --- a/jobs-actix/src/server.rs +++ b/jobs-actix/src/server.rs @@ -58,10 +58,10 @@ impl Server { } pub(crate) async fn return_job(&self, job: ReturnJobInfo) -> Result<(), Error> { - Ok(self.storage.return_job(job).await?) + self.storage.return_job(job).await } pub(crate) async fn get_stats(&self) -> Result { - Ok(self.storage.get_stats().await?) + self.storage.get_stats().await } }