We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b2abc7d commit 8c0e1a7Copy full SHA for 8c0e1a7
src/lib.rs
@@ -334,9 +334,11 @@ pub trait AsyncConnection: SimpleAsyncConnection + Sized + Send {
334
&mut self,
335
) -> &mut <Self::TransactionManager as TransactionManager<Self>>::TransactionStateData;
336
337
+ // These functions allow the associated types (`ExecuteFuture`, `LoadFuture`, etc.) to
338
+ // compile without a `where Self: '_` clause. This is needed the because bound causes
339
+ // lifetime issues when using `transaction()` with generic `AsyncConnection`s.
340
#[doc(hidden)]
341
fn _silence_lint_on_execute_future(_: Self::ExecuteFuture<'_, '_>) {}
-
342
343
fn _silence_lint_on_load_future(_: Self::LoadFuture<'_, '_>) {}
344
}
0 commit comments