diff --git a/js.go b/js.go index a3fa70f22..64986e5c4 100644 --- a/js.go +++ b/js.go @@ -1977,7 +1977,7 @@ func (m *Msg) Ack(opts ...AckOpt) error { return m.ackReply(ackAck, false, opts...) } -// Ack is the synchronous version of Ack. This indicates successful message +// AckSync is the synchronous version of Ack. This indicates successful message // processing. func (m *Msg) AckSync(opts ...AckOpt) error { return m.ackReply(ackAck, true, opts...)