Fix Rust 1.64 clippy (#1064)
This commit is contained in:
parent
5143307b3e
commit
75e2570811
@ -52,7 +52,7 @@ impl Deleter {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// Execute a DELETE operation
|
/// 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
|
where
|
||||||
C: ConnectionTrait,
|
C: ConnectionTrait,
|
||||||
{
|
{
|
||||||
|
@ -64,7 +64,7 @@ impl Updater {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// Execute an update operation
|
/// 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
|
where
|
||||||
C: ConnectionTrait,
|
C: ConnectionTrait,
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user