Skip to content

Commit

Permalink
Fix start_link typespec (#710)
Browse files Browse the repository at this point in the history
  • Loading branch information
iacutone authored Oct 22, 2024
1 parent a4b85e8 commit 731a1ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/postgrex.ex
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ defmodule Postgrex do
]
"""
@spec start_link([start_option]) :: {:ok, pid} | {:error, Postgrex.Error.t() | term}
@spec start_link([start_option]) :: GenServer.on_start()
def start_link(opts) do
opts = Postgrex.Utils.default_opts(opts)
DBConnection.start_link(Postgrex.Protocol, opts)
Expand Down

0 comments on commit 731a1ae

Please sign in to comment.