]> Cypherpunks repositories - gostls13.git/commitdiff
go/ast: fix inflection in comments to match plurality
authorAllen Li <darkfeline@felesatra.moe>
Mon, 23 Mar 2020 03:23:27 +0000 (03:23 +0000)
committerRobert Griesemer <gri@golang.org>
Mon, 23 Mar 2020 03:31:16 +0000 (03:31 +0000)
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>
src/go/ast/ast.go

index aca510f6a51db2a70ef1f8d94eedd304b4e3640c..b5b13b29083b244e40794832f0f3a6aa7ba90207 100644 (file)
@@ -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 {