Skip to content

Commit

Permalink
Fixed comment for Subscribe method
Browse files Browse the repository at this point in the history
  • Loading branch information
ipromax committed Jan 20, 2022
1 parent 4db0fb0 commit 7b3fab9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nats.go
Original file line number Diff line number Diff line change
Expand Up @@ -3738,7 +3738,7 @@ func (nc *Conn) respToken(respInbox string) string {
}

// Subscribe will express interest in the given subject. The subject
// can have wildcards (partial:*, full:>). Messages will be delivered
// can have wildcards (partial.*, full.>). Messages will be delivered
// to the associated MsgHandler.
func (nc *Conn) Subscribe(subj string, cb MsgHandler) (*Subscription, error) {
return nc.subscribe(subj, _EMPTY_, cb, nil, false, nil)
Expand Down

0 comments on commit 7b3fab9

Please sign in to comment.