clippy
All checks were successful
/ clippy (pull_request) Successful in 1m23s
/ tests (pull_request) Successful in 1m52s
/ check (aarch64-unknown-linux-musl) (pull_request) Successful in 1m56s
/ check (armv7-unknown-linux-musleabihf) (pull_request) Successful in 1m57s
/ check (x86_64-unknown-linux-musl) (pull_request) Successful in 1m52s

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)),
}
}