fix a typo in queue.go

This commit is contained in:
Ce Gao 2016-05-11 18:53:48 +08:00
parent 18feb303c2
commit 0b42fdd71d
No known key found for this signature in database
GPG key ID: 46E5DF99F0AE7F18

View file

@ -44,7 +44,7 @@ func Remove(c context.Context, w *Work) error {
return FromContext(c).Remove(w)
}
// PullClose retrieves and removes the head of this queue,
// Pull retrieves and removes the head of this queue,
// waiting if necessary until work becomes available.
func Pull(c context.Context) *Work {
return FromContext(c).Pull()