Whitelist clippy lint
async_trait requires this to be explicit
This commit is contained in:
parent
3ba416ded6
commit
24d4b92336
@ -311,6 +311,7 @@ impl crate::GenericClient for Transaction<'_> {
|
|||||||
self.prepare(query).await
|
self.prepare(query).await
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[allow(clippy::needless_lifetimes)]
|
||||||
async fn transaction<'a>(&'a mut self) -> Result<Transaction<'a>, Error> {
|
async fn transaction<'a>(&'a mut self) -> Result<Transaction<'a>, Error> {
|
||||||
self.transaction().await
|
self.transaction().await
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user