aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/go/ast/ast.go8
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 {