diff options
author | Daniel Martà <mvdan@mvdan.cc> | 2019-12-08 20:54:10 +0000 |
---|---|---|
committer | Robert Griesemer <gri@golang.org> | 2019-12-09 02:02:17 +0000 |
commit | daaab44f3124aff61937fa7e118f02d4ff82166c (patch) | |
tree | 78190c5670053f8ca2f17fe563dd49d2656ce162 | |
parent | da4d58587e0e4028ea384580053c3c455127e446 (diff) | |
download | go-daaab44f3124aff61937fa7e118f02d4ff82166c.tar.gz go-daaab44f3124aff61937fa7e118f02d4ff82166c.zip |
go/ast: fix a few incorrect "an" articles
slice, type, and select should all go with "a", not "an", since they all
start with consonant sounds.
Change-Id: I57e96dcbdc571dc21e24096779f2f756ec81103e
Reviewed-on: https://go-review.googlesource.com/c/go/+/210124
Reviewed-by: Robert Griesemer <gri@golang.org>
-rw-r--r-- | src/go/ast/ast.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/go/ast/ast.go b/src/go/ast/ast.go index 9e1da35287..aca510f6a5 100644 --- a/src/go/ast/ast.go +++ b/src/go/ast/ast.go @@ -292,7 +292,7 @@ type ( Rbrack token.Pos // position of "]" } - // An SliceExpr node represents an expression followed by slice indices. + // A SliceExpr node represents an expression followed by slice indices. SliceExpr struct { X Expr // expression Lbrack token.Pos // position of "[" @@ -662,7 +662,7 @@ type ( Body *BlockStmt // CaseClauses only } - // An TypeSwitchStmt node represents a type switch statement. + // A TypeSwitchStmt node represents a type switch statement. TypeSwitchStmt struct { Switch token.Pos // position of "switch" keyword Init Stmt // initialization statement; or nil @@ -678,7 +678,7 @@ type ( Body []Stmt // statement list; or nil } - // An SelectStmt node represents a select statement. + // A SelectStmt node represents a select statement. SelectStmt struct { Select token.Pos // position of "select" keyword Body *BlockStmt // CommClauses only |