Skip to content

Commit

Permalink
relax lifetime bound in Execute impl for StatementQuery
Browse files Browse the repository at this point in the history
  • Loading branch information
fakeshadow committed Oct 1, 2024
1 parent 1c5e2b2 commit f15526f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions postgres/src/execute/async_impl.rs
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ where
impl<'s, C, P> Execute<'_, C> for StatementQuery<'s, P>
where
C: Query,
P: AsParams + 's,
P: AsParams,
{
type ExecuteOutput = ResultFuture<RowAffected>;
type QueryOutput = Ready<Result<RowStream<'s>, Error>>;
Expand All @@ -119,7 +119,7 @@ where
impl<'s, 'c, C, P> Execute<'c, C> for StatementUnnamedBind<'s, P>
where
C: Prepare + 'c,
P: AsParams + 'c,
P: AsParams,
's: 'c,
{
type ExecuteOutput = ResultFuture<RowAffected>;
Expand Down

0 comments on commit f15526f

Please sign in to comment.