From e5e600affb17e8dc04da58b54ba226623d8779dc Mon Sep 17 00:00:00 2001 From: Mathieu D'Amours Date: Wed, 26 Aug 2020 14:35:04 -0400 Subject: [PATCH] Use :supervisor as child_spec/1 return type (#516) --- lib/postgrex.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/postgrex.ex b/lib/postgrex.ex index 25b9fc25e..c4ce7622f 100644 --- a/lib/postgrex.ex +++ b/lib/postgrex.ex @@ -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)