Преглед изворни кода

Merge pull request #873 from Dieterbe/outdated-comment

fix mention of Return.Successes
Evan Huus пре 9 година
родитељ
комит
46dabe0f34
1 измењених фајлова са 1 додато и 1 уклоњено
  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.