Skip to content

Commit

Permalink
Fix typos (#309)
Browse files Browse the repository at this point in the history
  • Loading branch information
kianmeng authored Jun 18, 2024
1 parent ab2a75b commit 700cbf6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/db_connection.ex
Original file line number Diff line number Diff line change
Expand Up @@ -539,7 +539,7 @@ defmodule DBConnection do
The allowed callbacks are:
* A 1-arity function that recieves the options from `start_link/2` as well as
* A 1-arity function that receives the options from `start_link/2` as well as
`:pool_index`
* `{module, function, args}` where the options from `start_link/2` as well as
`:pool_index` are prepended to `args` before the function is called
Expand Down
2 changes: 1 addition & 1 deletion lib/db_connection/connection.ex
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,7 @@ defmodule DBConnection.Connection do

@doc false
@impl :gen_statem
# If client is :closed then the connection was previouly disconnected
# If client is :closed then the connection was previously disconnected
# and cleanup is not required.
def terminate(_, _, %{client: :closed}), do: :ok

Expand Down

0 comments on commit 700cbf6

Please sign in to comment.