Skip to content

Commit

Permalink
Merge pull request #570 from hasheddan/docstring
Browse files Browse the repository at this point in the history
Minor docstring fix on PublishRequest
  • Loading branch information
derekcollison committed May 20, 2020
2 parents 120703c + 4ea94cf commit d638893
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nats.go
Expand Up @@ -2613,7 +2613,7 @@ func (nc *Conn) PublishMsg(m *Msg) error {
return nc.publish(m.Subject, m.Reply, m.Data)
}

// PublishRequest will perform a Publish() excpecting a response on the
// PublishRequest will perform a Publish() expecting a response on the
// reply subject. Use Request() for automatically waiting for a response
// inline.
func (nc *Conn) PublishRequest(subj, reply string, data []byte) error {
Expand Down

0 comments on commit d638893

Please sign in to comment.