Skip to content

Commit

Permalink
Fix misinfo in Repo.start_link/1 docs (#4339)
Browse files Browse the repository at this point in the history
* Fix misinfo in Repo.start_link/1 docs

* Update lib/ecto/repo.ex
  • Loading branch information
v0idpwn authored Dec 18, 2023
1 parent 828c62a commit 9f5a24d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/ecto/repo.ex
Original file line number Diff line number Diff line change
Expand Up @@ -639,8 +639,7 @@ defmodule Ecto.Repo do
@callback config() :: Keyword.t()

@doc """
Starts any connection pooling or supervision and return `{:ok, pid}`
or just `:ok` if nothing needs to be done.
Starts the Repo supervision tree.
Returns `{:error, {:already_started, pid}}` if the repo is already
started or `{:error, term}` in case anything else goes wrong.
Expand Down

0 comments on commit 9f5a24d

Please sign in to comment.