Fix Rust 1.64 clippy (#1064)

This commit is contained in:
Billy Chan 2022-09-23 15:32:03 +08:00 committed by GitHub
parent 5143307b3e
commit 75e2570811
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -52,7 +52,7 @@ impl Deleter {
}
/// Execute a DELETE operation
pub fn exec<'a, C>(self, db: &'a C) -> impl Future<Output = Result<DeleteResult, DbErr>> + '_
pub fn exec<C>(self, db: &C) -> impl Future<Output = Result<DeleteResult, DbErr>> + '_
where
C: ConnectionTrait,
{

View File

@ -64,7 +64,7 @@ impl Updater {
}
/// Execute an update operation
pub fn exec<'a, C>(self, db: &'a C) -> impl Future<Output = Result<UpdateResult, DbErr>> + '_
pub fn exec<C>(self, db: &C) -> impl Future<Output = Result<UpdateResult, DbErr>> + '_
where
C: ConnectionTrait,
{