diff options
| author | Allen Li <darkfeline@felesatra.moe> | 2020-03-23 03:23:27 +0000 |
|---|---|---|
| committer | Robert Griesemer <gri@golang.org> | 2020-03-23 03:31:16 +0000 |
| commit | ab2cc45cc9a094bb29d7adc3191dd6ee2080af83 (patch) | |
| tree | 8dd9b7e42d143b30d08a7743e8f125d4b968b1b2 /src | |
| parent | 02e492f1a33033d88c2c307262a56e578939fc60 (diff) | |
| download | go-ab2cc45cc9a094bb29d7adc3191dd6ee2080af83.tar.xz | |
go/ast: fix inflection in comments to match plurality
Change-Id: I3a725c5691a1090952acdc2ae0bed96aaa8d7067
GitHub-Last-Rev: 339a0dda36aeb1c0b38e531b4292048ebfae05ad
GitHub-Pull-Request: golang/go#37256
Reviewed-on: https://go-review.googlesource.com/c/go/+/219737
Reviewed-by: Robert Griesemer <gri@golang.org>
Diffstat (limited to 'src')
| -rw-r--r-- | src/go/ast/ast.go | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/go/ast/ast.go b/src/go/ast/ast.go index aca510f6a5..b5b13b2908 100644 --- a/src/go/ast/ast.go +++ b/src/go/ast/ast.go @@ -226,8 +226,8 @@ func (f *FieldList) NumFields() int { // or more of the following concrete expression nodes. // type ( - // A BadExpr node is a placeholder for expressions containing - // syntax errors for which no correct expression nodes can be + // A BadExpr node is a placeholder for an expression containing + // syntax errors for which a correct expression node cannot be // created. // BadExpr struct { @@ -897,8 +897,8 @@ func (*TypeSpec) specNode() {} // A declaration is represented by one of the following declaration nodes. // type ( - // A BadDecl node is a placeholder for declarations containing - // syntax errors for which no correct declaration nodes can be + // A BadDecl node is a placeholder for a declaration containing + // syntax errors for which a correct declaration node cannot be // created. // BadDecl struct { |
