Fix callbacks lifetime

This commit is contained in:
gwenn
2021-11-30 20:52:55 +01:00
committed by Thom Chiovoloni
parent 30f8c8c502
commit 612158507e

View File

@@ -412,7 +412,7 @@ impl Connection {
) -> Result<()>
where
A: RefUnwindSafe + UnwindSafe,
D: Aggregate<A, T>,
D: Aggregate<A, T> + 'static,
T: ToSql,
{
self.db
@@ -437,7 +437,7 @@ impl Connection {
) -> Result<()>
where
A: RefUnwindSafe + UnwindSafe,
W: WindowAggregate<A, T>,
W: WindowAggregate<A, T> + 'static,
T: ToSql,
{
self.db