We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 75936b2 commit 72d38b6Copy full SHA for 72d38b6
database/src/pool/both.rs
@@ -196,7 +196,7 @@ impl<'a> Connection for BothTransaction<'a> {
196
self.b.conn().maybe_create_indices()
197
);
198
}
199
- async fn transaction(&mut self) -> Box<dyn super::Transaction> {
+ async fn transaction<'b>(&'b mut self) -> Box<dyn super::Transaction + 'b> {
200
panic!("nested transactions not supported")
201
202
async fn load_index(&mut self) -> Index {
0 commit comments