Fix typos. (#2035)

This commit is contained in:
mmukhi
2018-04-30 15:22:55 -07:00
committed by GitHub
parent 17a5d9ce39
commit 8508314f82
2 changed files with 2 additions and 2 deletions

View File

@ -172,7 +172,7 @@ func (m *MessageDecoder) parseHeader(b []byte) {
Overhead: m.padding + 5, Overhead: m.padding + 5,
} }
m.padding = 0 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 // that the RPC goroutine can send a proactive window update as we
// wait for the rest of it. // wait for the rest of it.
m.dispatch(hdr) m.dispatch(hdr)

View File

@ -291,7 +291,7 @@ func (s *Stream) SetSendCompress(str string) {
s.sendCompress = str 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. // from the server.
func (s *Stream) Done() <-chan struct{} { func (s *Stream) Done() <-chan struct{} {
return s.done return s.done