Skip to content

Commit

Permalink
Fix doc typos in Phoenix.PubSub and Phoenix.PubSub.PG2 (#90)
Browse files Browse the repository at this point in the history
  • Loading branch information
zorbash authored and chrismccord committed Sep 15, 2017
1 parent 97da6fd commit d90734f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/phoenix/pubsub.ex
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ defmodule Phoenix.PubSub do
`%Phoenix.Socket.Broadcast{}` events. The fastlane process is
notified of a cached message instead of the normal subscriber.
Fastlane handlers must implement `fastlane/1` callbacks which accepts
a `Phoenix.Socket.Broadcast` structs and returns a fastlaned format
a `Phoenix.Socket.Broadcast` struct and returns a fastlaned format
for the handler. For example:
PubSub.subscribe(MyApp.PubSub, "topic1",
Expand Down
2 changes: 1 addition & 1 deletion lib/phoenix/pubsub/pg2.ex
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ defmodule Phoenix.PubSub.PG2 do
## Options
* `:name` - The registered name and optional node name to for the PubSub
* `:name` - The registered name and optional node name for the PubSub
processes, for example: `MyApp.PubSub`, `{MyApp.PubSub, :node@host}`.
When only a server name is provided, the node name defaults to `node()`.
Expand Down

0 comments on commit d90734f

Please sign in to comment.