Skip to content

Commit

Permalink
eliza's feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
smklein committed Oct 25, 2024
1 parent d766ab0 commit 8529f2a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/async_traits.rs
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ fn retryable_error(err: &DieselError) -> bool {
//
// This aims to help avoid leaving open transactions alive
// if an asynchronous transaction is cancelled.
#[must_use]
struct ConnectionKiller<'a, Conn>
where
Conn: DieselConnection,
Expand Down Expand Up @@ -124,7 +125,7 @@ where
#[doc(hidden)]
fn as_async_conn(&self) -> &Connection<Conn>;

// Identifies if the conneciton has been broken
// Identifies if the connection has been broken
// by an invalid transaction. This should prevent
// future usage.
#[doc(hidden)]
Expand Down

0 comments on commit 8529f2a

Please sign in to comment.