Skip to content

Commit

Permalink
Fix typespec
Browse files Browse the repository at this point in the history
  • Loading branch information
iacutone committed Oct 21, 2024
1 parent a1c69da commit 1201950
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 1201950

Please sign in to comment.