update code change for golang.org/x/net/... to release-branch.go1.10

This commit is contained in:
Wenjia Zhang
2018-11-06 16:04:02 -08:00
parent adf155ee9f
commit b540527df0
16 changed files with 3495 additions and 3120 deletions

View File

@@ -1161,8 +1161,8 @@ func (z *Tokenizer) TagAttr() (key, val []byte, moreAttr bool) {
return nil, nil, false
}
// Token returns the next Token. The result's Data and Attr values remain valid
// after subsequent Next calls.
// Token returns the current Token. The result's Data and Attr values remain
// valid after subsequent Next calls.
func (z *Tokenizer) Token() Token {
t := Token{Type: z.tt}
switch z.tt {