]> Cypherpunks repositories - gostls13.git/commitdiff
go/ast: fix typo in comment
authorIan Lance Taylor <iant@golang.org>
Wed, 2 Mar 2016 17:20:38 +0000 (09:20 -0800)
committerIan Lance Taylor <iant@golang.org>
Wed, 2 Mar 2016 19:16:10 +0000 (19:16 +0000)
Change-Id: I719231466286b3c0135314388a7c560ef44d7c35
Reviewed-on: https://go-review.googlesource.com/20130
Run-TryBot: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Robert Griesemer <gri@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>

src/go/ast/commentmap.go

index ac999d627cecbf739050e79a23ceaf40069dfa26..2a653a60ac9b3ec13f0566f5e938a1bf37b85a9f 100644 (file)
@@ -267,7 +267,7 @@ func (cmap CommentMap) Filter(node Node) CommentMap {
 }
 
 // Comments returns the list of comment groups in the comment map.
-// The result is sorted is source order.
+// The result is sorted in source order.
 //
 func (cmap CommentMap) Comments() []*CommentGroup {
        list := make([]*CommentGroup, 0, len(cmap))