From 8508314f823c998405b6d5831a45528e4305518d Mon Sep 17 00:00:00 2001 From: mmukhi Date: Mon, 30 Apr 2018 15:22:55 -0700 Subject: [PATCH] Fix typos. (#2035) --- internal/msgdecoder/msgdecoder.go | 2 +- transport/stream.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/msgdecoder/msgdecoder.go b/internal/msgdecoder/msgdecoder.go index bbcc4797..e35b91e2 100644 --- a/internal/msgdecoder/msgdecoder.go +++ b/internal/msgdecoder/msgdecoder.go @@ -172,7 +172,7 @@ func (m *MessageDecoder) parseHeader(b []byte) { Overhead: m.padding + 5, } m.padding = 0 - // Dispatch the information retreived from message header so + // Dispatch the information retrieved from message header so // that the RPC goroutine can send a proactive window update as we // wait for the rest of it. m.dispatch(hdr) diff --git a/transport/stream.go b/transport/stream.go index bfc4edc4..5542c02a 100644 --- a/transport/stream.go +++ b/transport/stream.go @@ -291,7 +291,7 @@ func (s *Stream) SetSendCompress(str string) { s.sendCompress = str } -// Done returns a chanel which is closed when it receives the final status +// Done returns a channel which is closed when it receives the final status // from the server. func (s *Stream) Done() <-chan struct{} { return s.done