mirror of
https://git.asonix.dog/asonix/background-jobs.git
synced 2024-11-22 03:51:00 +00:00
clippy
This commit is contained in:
parent
8267df8311
commit
51afbc89ce
1 changed files with 2 additions and 2 deletions
|
@ -58,10 +58,10 @@ impl Server {
|
||||||
}
|
}
|
||||||
|
|
||||||
pub(crate) async fn return_job(&self, job: ReturnJobInfo) -> Result<(), Error> {
|
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<Stats, Error> {
|
pub(crate) async fn get_stats(&self) -> Result<Stats, Error> {
|
||||||
Ok(self.storage.get_stats().await?)
|
self.storage.get_stats().await
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue