Skip to content

Commit

Permalink
chore: doc fix
Browse files Browse the repository at this point in the history
  • Loading branch information
connec committed Nov 2, 2023
1 parent e2701a7 commit e896b5a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/tx.rs
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,8 @@ impl<DB: sqlx::Database, E> Tx<DB, E> {
/// Explicitly commit the transaction.
///
/// By default, the transaction will be committed when a successful response is returned
/// (specifically, when the [`Service`](crate::Service) middleware intercepts an HTTP `2XX`
/// response). This method allows the transaction to be committed explicitly.
/// (specifically, when the [`Service`](crate::Service) middleware intercepts an HTTP `2XX` or
/// `3XX` response). This method allows the transaction to be committed explicitly.
///
/// **Note:** trying to use the `Tx` extractor again after calling `commit` will currently
/// generate [`Error::OverlappingExtractors`] errors. This may change in future.
Expand Down

0 comments on commit e896b5a

Please sign in to comment.