Skip to content

Commit 81a7706

Browse files
committed
Note Elixir 1.19+ requirement for tuple :keys forms
1 parent 0a8c113 commit 81a7706

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

lib/phoenix/pubsub.ex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -184,8 +184,8 @@ defmodule Phoenix.PubSub do
184184
processes; it is exposed for completeness. The two duplicate
185185
variants differ in partitioning: `{:duplicate, :pid}` groups
186186
entries by subscriber pid, while `{:duplicate, :key}` groups them
187-
by topic. See `Registry.start_link/1` for the `:pid` vs `:key`
188-
trade-offs.
187+
by topic. The tuple forms require Elixir v1.19 or later. See
188+
`Registry.start_link/1` for the `:pid` vs `:key` trade-offs.
189189
190190
"""
191191
@spec child_spec(keyword) :: Supervisor.child_spec()

0 commit comments

Comments
 (0)