Skip to content

Commit 6ac76d9

Browse files
authored
Fix typo in Sandbox.mode spec (#664)
1 parent 127ed68 commit 6ac76d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/ecto/adapters/sql/sandbox.ex

+1-1
Original file line numberDiff line numberDiff line change
@@ -498,7 +498,7 @@ defmodule Ecto.Adapters.SQL.Sandbox do
498498
process set the ownership mode to `{:shared, _}` and is still alive.
499499
"""
500500
@spec mode(Ecto.Repo.t() | pid(), :auto | :manual | {:shared, pid()}) ::
501-
:ok | :already_shared | :now_owner | :not_found
501+
:ok | :already_shared | :not_owner | :not_found
502502
def mode(repo, mode)
503503
when (is_atom(repo) or is_pid(repo)) and mode in [:auto, :manual]
504504
when (is_atom(repo) or is_pid(repo)) and elem(mode, 0) == :shared and is_pid(elem(mode, 1)) do

0 commit comments

Comments
 (0)