mirror of
https://github.com/isar/rusqlite.git
synced 2025-10-09 21:12:19 +08:00
Fix callbacks lifetime
This commit is contained in:
@@ -412,7 +412,7 @@ impl Connection {
|
|||||||
) -> Result<()>
|
) -> Result<()>
|
||||||
where
|
where
|
||||||
A: RefUnwindSafe + UnwindSafe,
|
A: RefUnwindSafe + UnwindSafe,
|
||||||
D: Aggregate<A, T>,
|
D: Aggregate<A, T> + 'static,
|
||||||
T: ToSql,
|
T: ToSql,
|
||||||
{
|
{
|
||||||
self.db
|
self.db
|
||||||
@@ -437,7 +437,7 @@ impl Connection {
|
|||||||
) -> Result<()>
|
) -> Result<()>
|
||||||
where
|
where
|
||||||
A: RefUnwindSafe + UnwindSafe,
|
A: RefUnwindSafe + UnwindSafe,
|
||||||
W: WindowAggregate<A, T>,
|
W: WindowAggregate<A, T> + 'static,
|
||||||
T: ToSql,
|
T: ToSql,
|
||||||
{
|
{
|
||||||
self.db
|
self.db
|
||||||
|
Reference in New Issue
Block a user