]> Cypherpunks repositories - gostls13.git/commitdiff
go/doc, syscall: change 'more then' to 'more than'
authorandrey mirtchovski <mirtchovski@gmail.com>
Mon, 7 Dec 2015 00:44:44 +0000 (17:44 -0700)
committerBrad Fitzpatrick <bradfitz@golang.org>
Mon, 7 Dec 2015 05:34:33 +0000 (05:34 +0000)
This change modifies comments to use the more gramatically correct "more than"
instead of "more then".

Change-Id: Ie3bddcf25eb6b243a21da934f2f3c76a750c083a
Reviewed-on: https://go-review.googlesource.com/17488
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/go/doc/reader.go
src/syscall/dll_windows.go

index ed82c47cd99385a634ec3a60fcf8e41fa4b9b8c8..f5c02b684d4cacbade35ae983823db74aece76c3 100644 (file)
@@ -18,7 +18,7 @@ import (
 // Internally, we treat functions like methods and collect them in method sets.
 
 // A methodSet describes a set of methods. Entries where Decl == nil are conflict
-// entries (more then one method with the same name at the same embedding level).
+// entries (more than one method with the same name at the same embedding level).
 //
 type methodSet map[string]*Func
 
@@ -71,7 +71,7 @@ func (mset methodSet) set(f *ast.FuncDecl) {
 
 // add adds method m to the method set; m is ignored if the method set
 // already contains a method with the same name at the same or a higher
-// level then m.
+// level than m.
 //
 func (mset methodSet) add(m *Func) {
        old := mset[m.Name]
@@ -208,7 +208,7 @@ func (r *reader) recordAnonymousField(parent *namedType, fieldType ast.Expr) (fn
 
 func (r *reader) readDoc(comment *ast.CommentGroup) {
        // By convention there should be only one package comment
-       // but collect all of them if there are more then one.
+       // but collect all of them if there are more than one.
        text := comment.Text()
        if r.doc == "" {
                r.doc = text
index c157e6dd7b8ce20580915a48660611a6ef936a84..3cf4b1be8c9cbdbf002dc231117c53456680435d 100644 (file)
@@ -115,7 +115,7 @@ func (p *Proc) Addr() uintptr {
        return p.addr
 }
 
-// Call executes procedure p with arguments a. It will panic, if more then 15 arguments
+// Call executes procedure p with arguments a. It will panic, if more than 15 arguments
 // are supplied.
 //
 // The returned error is always non-nil, constructed from the result of GetLastError.
@@ -267,7 +267,7 @@ func (p *LazyProc) Addr() uintptr {
        return p.proc.Addr()
 }
 
-// Call executes procedure p with arguments a. It will panic, if more then 15 arguments
+// Call executes procedure p with arguments a. It will panic, if more than 15 arguments
 // are supplied.
 //
 // The returned error is always non-nil, constructed from the result of GetLastError.