Fixed comment spelling (#1254)

This commit is contained in:
Mehrdad Afshari
2017-05-22 13:13:07 -07:00
committed by dfawley
parent 9f919f7b81
commit 5e42b6f37e
2 changed files with 2 additions and 2 deletions

View File

@ -44,7 +44,7 @@ const (
// OK is returned on success.
OK Code = 0
// Canceled indicates the operation was cancelled (typically by the caller).
// Canceled indicates the operation was canceled (typically by the caller).
Canceled Code = 1
// Unknown error. An example of where this error may be returned is

View File

@ -247,7 +247,7 @@ func (s *Stream) GoAway() <-chan struct{} {
// Header acquires the key-value pairs of header metadata once it
// is available. It blocks until i) the metadata is ready or ii) there is no
// header metadata or iii) the stream is cancelled/expired.
// header metadata or iii) the stream is canceled/expired.
func (s *Stream) Header() (metadata.MD, error) {
select {
case <-s.ctx.Done():