all: fix typos in comments

Change-Id: Ic1771d3ea0e26e02f71d5f4d1d458eb93a2c016d
Reviewed-on: https://go-review.googlesource.com/137695
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
This commit is contained in:
Jongmin Kim
2018-09-27 00:41:24 +09:00
committed by Brad Fitzpatrick
parent f04abc6bdf
commit 4dfa2610cd
2 changed files with 2 additions and 2 deletions

View File

@@ -199,7 +199,7 @@ func (w *writeResHeaders) staysWithinBuffer(max int) bool {
// TODO: this is a common one. It'd be nice to return true
// here and get into the fast path if we could be clever and
// calculate the size fast enough, or at least a conservative
// uppper bound that usually fires. (Maybe if w.h and
// upper bound that usually fires. (Maybe if w.h and
// w.trailers are nil, so we don't need to enumerate it.)
// Otherwise I'm afraid that just calculating the length to
// answer this question would be slower than the ~2µs benefit.

View File

@@ -37,7 +37,7 @@ func (m *InterfaceAddrMessage) Sys() []Sys { return nil }
// address message.
type InterfaceMulticastAddrMessage struct {
Version int // message version
Type int // messsage type
Type int // message type
Flags int // interface flags
Index int // interface index
Addrs []Addr // addresses