This commit is contained in:
asonix 2024-04-01 17:06:36 -05:00
parent c013f697fd
commit a3bce4c2d3
2 changed files with 2 additions and 2 deletions

View file

@ -17,7 +17,7 @@ use std::sync::Arc;
use super::{JobContext, JobFuture, JobResult};
pub(super) fn perform<'a, S>(state: &'a State<S>, job: serde_json::Value) -> JobFuture<'a>
pub(super) fn perform<S>(state: &State<S>, job: serde_json::Value) -> JobFuture<'_>
where
S: Store + 'static,
{

View file

@ -403,7 +403,7 @@ impl PostgresRepo {
diesel::result::DatabaseErrorKind::UniqueViolation,
_,
)) => Ok(Err(AlreadyInserted)),
Err(e) => Err(PostgresError::Diesel(e).into()),
Err(e) => Err(PostgresError::Diesel(e)),
}
}