diff options
| author | Russ Cox <rsc@golang.org> | 2012-02-06 13:34:35 -0500 |
|---|---|---|
| committer | Russ Cox <rsc@golang.org> | 2012-02-06 13:34:35 -0500 |
| commit | ae7497bda63382930cf729803435fc455980c9dc (patch) | |
| tree | 92349e79e172ae84230d612525b75590233f3c33 /src/pkg | |
| parent | fec7fa8b9deb5f0c08c546ad2ba121d78e104163 (diff) | |
| download | go-ae7497bda63382930cf729803435fc455980c9dc.tar.xz | |
doc: remove overuse of simply
Specifically, remove simply where it is claiming that the
code or the action to be carried out is simple, since the
reader might disagree.
R=golang-dev, bradfitz, gri
CC=golang-dev
https://golang.org/cl/5637048
Diffstat (limited to 'src/pkg')
| -rw-r--r-- | src/pkg/crypto/cipher/io.go | 4 | ||||
| -rw-r--r-- | src/pkg/database/sql/driver/driver.go | 2 | ||||
| -rw-r--r-- | src/pkg/encoding/gob/decoder.go | 2 | ||||
| -rw-r--r-- | src/pkg/expvar/expvar.go | 2 | ||||
| -rw-r--r-- | src/pkg/text/tabwriter/tabwriter.go | 4 |
5 files changed, 7 insertions, 7 deletions
diff --git a/src/pkg/crypto/cipher/io.go b/src/pkg/crypto/cipher/io.go index 9888c9806f..76048fbf33 100644 --- a/src/pkg/crypto/cipher/io.go +++ b/src/pkg/crypto/cipher/io.go @@ -9,7 +9,7 @@ import "io" // The Stream* objects are so simple that all their members are public. Users // can create them themselves. -// StreamReader wraps a Stream into an io.Reader. It simply calls XORKeyStream +// StreamReader wraps a Stream into an io.Reader. It calls XORKeyStream // to process each slice of data which passes through. type StreamReader struct { S Stream @@ -22,7 +22,7 @@ func (r StreamReader) Read(dst []byte) (n int, err error) { return } -// StreamWriter wraps a Stream into an io.Writer. It simply calls XORKeyStream +// StreamWriter wraps a Stream into an io.Writer. It calls XORKeyStream // to process each slice of data which passes through. If any Write call // returns short then the StreamWriter is out of sync and must be discarded. type StreamWriter struct { diff --git a/src/pkg/database/sql/driver/driver.go b/src/pkg/database/sql/driver/driver.go index 0cd2562d68..b930077605 100644 --- a/src/pkg/database/sql/driver/driver.go +++ b/src/pkg/database/sql/driver/driver.go @@ -5,7 +5,7 @@ // Package driver defines interfaces to be implemented by database // drivers as used by package sql. // -// Code simply using databases should use package sql. +// Most code should use package sql. // // Drivers only need to be aware of a subset of Go's types. The sql package // will convert all types into one of the following: diff --git a/src/pkg/encoding/gob/decoder.go b/src/pkg/encoding/gob/decoder.go index fb28c8caf5..c5c7d3fdb1 100644 --- a/src/pkg/encoding/gob/decoder.go +++ b/src/pkg/encoding/gob/decoder.go @@ -135,7 +135,7 @@ func (dec *Decoder) nextUint() uint64 { // and returns the type id of the next value. It returns -1 at // EOF. Upon return, the remainder of dec.buf is the value to be // decoded. If this is an interface value, it can be ignored by -// simply resetting that buffer. +// resetting that buffer. func (dec *Decoder) decodeTypeSequence(isInterface bool) typeId { for dec.err == nil { if dec.buf.Len() == 0 { diff --git a/src/pkg/expvar/expvar.go b/src/pkg/expvar/expvar.go index 0ccfb34328..1919296ea8 100644 --- a/src/pkg/expvar/expvar.go +++ b/src/pkg/expvar/expvar.go @@ -16,7 +16,7 @@ // // The package is sometimes only imported for the side effect of // registering its HTTP handler and the above variables. To use it -// this way, simply link this package into your program: +// this way, link this package into your program: // import _ "expvar" // package expvar diff --git a/src/pkg/text/tabwriter/tabwriter.go b/src/pkg/text/tabwriter/tabwriter.go index 201a685c63..ea7c400811 100644 --- a/src/pkg/text/tabwriter/tabwriter.go +++ b/src/pkg/text/tabwriter/tabwriter.go @@ -52,7 +52,7 @@ type cell struct { // this flag. // // If a Writer is configured to filter HTML, HTML tags and entities -// are simply passed through. The widths of tags and entities are +// are passed through. The widths of tags and entities are // assumed to be zero (tags) and one (entities) for formatting purposes. // // A segment of text may be escaped by bracketing it with Escape @@ -448,7 +448,7 @@ func handlePanic(err *error) { // Flush should be called after the last call to Write to ensure // that any data buffered in the Writer is written to output. Any -// incomplete escape sequence at the end is simply considered +// incomplete escape sequence at the end is considered // complete for formatting purposes. // func (b *Writer) Flush() (err error) { |
