Browse Source

Merge pull request #873 from Dieterbe/outdated-comment

fix mention of Return.Successes
Evan Huus 8 years ago
parent
commit
46dabe0f34
1 changed files with 1 additions and 1 deletions
  1. 1 1
      async_producer.go

+ 1 - 1
async_producer.go

@@ -33,7 +33,7 @@ type AsyncProducer interface {
 	// wish to send.
 	Input() chan<- *ProducerMessage
 
-	// Successes is the success output channel back to the user when AckSuccesses is
+	// Successes is the success output channel back to the user when Return.Successes is
 	// enabled. If Return.Successes is true, you MUST read from this channel or the
 	// Producer will deadlock. It is suggested that you send and read messages
 	// together in a single select statement.