Skip to content

Commit

Permalink
Fix typespec (#198)
Browse files Browse the repository at this point in the history
  • Loading branch information
iacutone authored Oct 22, 2024
1 parent bff33e0 commit 9618d88
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/myxql.ex
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ defmodule MyXQL do
MySQL error code 1792 (ER_CANT_EXECUTE_IN_READ_ONLY_TRANSACTION): Cannot execute statement in a READ ONLY transaction.
"""
@spec start_link([start_option()]) :: {:ok, pid()} | {:error, MyXQL.Error.t()}
@spec start_link([start_option()]) :: GenServer.on_start()
def start_link(options) do
options = ensure_valid_error_codes!(options)
DBConnection.start_link(MyXQL.Connection, options)
Expand Down

0 comments on commit 9618d88

Please sign in to comment.