瀏覽代碼

http2/hpack: fix a typo

Change-Id: I18cc9536444f3112f677f1439a114efe65faf51e
Reviewed-on: https://go-review.googlesource.com/21831
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Mikio Hara 9 年之前
父節點
當前提交
e4306e4093
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      http2/hpack/hpack.go

+ 1 - 1
http2/hpack/hpack.go

@@ -43,7 +43,7 @@ type HeaderField struct {
 
 // IsPseudo reports whether the header field is an http2 pseudo header.
 // That is, it reports whether it starts with a colon.
-// It is not otherwise guaranteed to be a valid psuedo header field,
+// It is not otherwise guaranteed to be a valid pseudo header field,
 // though.
 func (hf HeaderField) IsPseudo() bool {
 	return len(hf.Name) != 0 && hf.Name[0] == ':'