Skip to content

Commit 9618d88

Browse files
authored
Fix typespec (#198)
1 parent bff33e0 commit 9618d88

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/myxql.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ defmodule MyXQL do
181181
MySQL error code 1792 (ER_CANT_EXECUTE_IN_READ_ONLY_TRANSACTION): Cannot execute statement in a READ ONLY transaction.
182182
183183
"""
184-
@spec start_link([start_option()]) :: {:ok, pid()} | {:error, MyXQL.Error.t()}
184+
@spec start_link([start_option()]) :: GenServer.on_start()
185185
def start_link(options) do
186186
options = ensure_valid_error_codes!(options)
187187
DBConnection.start_link(MyXQL.Connection, options)

0 commit comments

Comments
 (0)