Commit a6927df2 authored by Robert Griesemer's avatar Robert Griesemer

go.net: fix various typos

LGTM=adonovan
R=adonovan
CC=golang-codereviews, golang-dev
https://golang.org/cl/97950043
parent d6e95293
......@@ -1195,7 +1195,7 @@ func NewTokenizer(r io.Reader) *Tokenizer {
}
// NewTokenizerFragment returns a new HTML Tokenizer for the given Reader, for
// tokenizing an exisitng element's InnerHTML fragment. contextTag is that
// tokenizing an existing element's InnerHTML fragment. contextTag is that
// element's tag, such as "div" or "iframe".
//
// For example, how the InnerHTML "a<b" is tokenized depends on whether it is
......
......@@ -4,7 +4,7 @@
// +build ignore
// This program generates internet protocol constatns and tables by
// This program generates internet protocol constants and tables by
// reading IANA protocol registries.
//
// Usage of this program:
......
......@@ -28,7 +28,7 @@ var (
// RFC 3542 Advanced Sockets Application Program Interface (API) for IPv6
// http://tools.ietf.org/html/rfc3542
//
// Note that RFC 3542 obsoltes RFC 2292 but OS X Snow Leopard and the
// Note that RFC 3542 obsoletes RFC 2292 but OS X Snow Leopard and the
// former still support RFC 2292 only. Please be aware that almost
// all protocol implementations prohibit using a combination of RFC
// 2292 and RFC 3542 for some practical reasons.
......@@ -42,7 +42,7 @@ func (c *rawOpt) set(f ControlFlags) { c.cflags |= f }
func (c *rawOpt) clear(f ControlFlags) { c.cflags &^= f }
func (c *rawOpt) isset(f ControlFlags) bool { return c.cflags&f != 0 }
// A ControlFlags reprensents per packet basis IP-level socket option
// A ControlFlags represents per packet basis IP-level socket option
// control flags.
type ControlFlags uint
......
......@@ -4,7 +4,7 @@
// +build ignore
// This program generates internet protocol constatns and tables by
// This program generates internet protocol constants and tables by
// reading IANA protocol registries.
//
// Usage:
......
......@@ -255,7 +255,7 @@ type Framer struct {
headerDecompressor io.ReadCloser
}
// NewFramer allocates a new Framer for a given SPDY connection, repesented by
// NewFramer allocates a new Framer for a given SPDY connection, represented by
// a io.Writer and io.Reader. Note that Framer will read and write individual fields
// from/to the Reader and Writer, so the caller should pass in an appropriately
// buffered implementation to optimize performance.
......
......@@ -129,7 +129,7 @@ type frameReaderFactory interface {
// frameWriter is an interface to write a WebSocket frame.
type frameWriter interface {
// Writer is to write playload of the frame.
// Writer is to write payload of the frame.
io.WriteCloser
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment