Skip to content

Commit

Permalink
Use :supervisor as child_spec/1 return type (#516)
Browse files Browse the repository at this point in the history
  • Loading branch information
matehat authored Aug 26, 2020
1 parent a791fad commit e5e600a
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 @@ -491,7 +491,7 @@ defmodule Postgrex do
@doc """
Returns a supervisor child specification for a DBConnection pool.
"""
@spec child_spec([start_option]) :: Supervisor.Spec.spec()
@spec child_spec([start_option]) :: :supervisor.child_spec()
def child_spec(opts) do
ensure_deps_started!(opts)
opts = Postgrex.Utils.default_opts(opts)
Expand Down

0 comments on commit e5e600a

Please sign in to comment.