]> Cypherpunks repositories - gostls13.git/commitdiff
doc: remove overuse of simply
authorRuss Cox <rsc@golang.org>
Mon, 6 Feb 2012 18:34:35 +0000 (13:34 -0500)
committerRuss Cox <rsc@golang.org>
Mon, 6 Feb 2012 18:34:35 +0000 (13:34 -0500)
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

doc/articles/error_handling.html
doc/articles/error_handling.tmpl
doc/devel/weekly.html
doc/gccgo_install.html
src/pkg/crypto/cipher/io.go
src/pkg/database/sql/driver/driver.go
src/pkg/encoding/gob/decoder.go
src/pkg/expvar/expvar.go
src/pkg/text/tabwriter/tabwriter.go

index b9393a2cbaf8d5500613351f2092ba29d6aa4fc3..ac33f1dabcc49999c0aea313daf7c2bf624e3730 100644 (file)
@@ -415,7 +415,7 @@ the user is an administrator,
 <li>write a constructor function for <code>appError</code> that stores the
 stack trace for easier debugging, 
 <li>recover from panics inside the <code>appHandler</code>, logging the error
-to the console as "Critical," while simply telling the user "a serious error
+to the console as "Critical," while telling the user "a serious error
 has occurred." This is a nice touch to avoid exposing the user to inscrutable
 error messages caused by programming errors.
 See the <a href="defer_panic_recover.html">Defer, Panic, and Recover</a>
index 141b4a54dd18a35da3e7cf417aabc7b891b70118..56b7fb309d4a6412911c314327cb28ecbbe183de 100644 (file)
@@ -296,7 +296,7 @@ the user is an administrator,
 <li>write a constructor function for <code>appError</code> that stores the
 stack trace for easier debugging, 
 <li>recover from panics inside the <code>appHandler</code>, logging the error
-to the console as "Critical," while simply telling the user "a serious error
+to the console as "Critical," while telling the user "a serious error
 has occurred." This is a nice touch to avoid exposing the user to inscrutable
 error messages caused by programming errors.
 See the <a href="defer_panic_recover.html">Defer, Panic, and Recover</a>
index 34c0a71280362086c2b71f8344311caafe7a4992..16dd6a3294d75ed7175c5dd18f15ffd8ad3efb3a 100644 (file)
@@ -916,7 +916,7 @@ The Dump* and NewChunked* functions and ClientConn, ServerConn, and
 ReverseProxy types have been moved from http to httputil.
 
 The API for html/template is now a direct copy of the template API, instead of
-exposing a single Escape function. For HTML templates, simply use the
+exposing a single Escape function. For HTML templates, use the
 html/template package as you would the template package.
 
 Other changes:
index 1aaf64e54e0c90d73ad15518af5d842ca99c4e6a..085a305432b6dd6bbd1031b4134c4147eccbdede 100644 (file)
@@ -360,7 +360,7 @@ The name of Go functions accessed from C is subject to change. At present
 the name of a Go function that does not have a receiver is
 <code>prefix.package.Functionname</code>. The prefix is set by
 the <code>-fgo-prefix</code> option used when the package is compiled;
-if the option is not used, the default is simply <code>go</code>.
+if the option is not used, the default is <code>go</code>.
 To call the function from C you must set the name using
 a <code>gcc</code> extension similar to the <code>gccgo</code>
 extension.
index 9888c9806f314c55addca100987ae32d55819f35..76048fbf33953684faa83e44103b3110f59add7c 100644 (file)
@@ -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 {
index 0cd2562d6822d360b58fc663a66da32df04ba861..b930077605047591d3cc40ab3ee4c1ac435fa73e 100644 (file)
@@ -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:
index fb28c8caf53561f24791fbef614e5d4a168d3947..c5c7d3fdb10ddc7d3c4f1defb703d839a7d1e3db 100644 (file)
@@ -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 {
index 0ccfb34328d69a19b3e74e98b20583bbb811ccdd..1919296ea8f6495f0d72f7671dabc100509dce86 100644 (file)
@@ -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
index 201a685c6305656b8319e19bae17eb7e1072d66b..ea7c40081115b3f58be753d00e1d8b7624f2e31a 100644 (file)
@@ -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) {