From: Allen Li Date: Mon, 23 Mar 2020 03:23:27 +0000 (+0000) Subject: go/ast: fix inflection in comments to match plurality X-Git-Tag: go1.15beta1~796 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=ab2cc45cc9a094bb29d7adc3191dd6ee2080af83;p=gostls13.git 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 --- 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 {