1
0
mirror of https://github.com/golang/go synced 2024-11-18 12:54:44 -07:00

go/ast: improve doc for FuncDecl's Type field.

R=gri, r
CC=golang-dev
https://golang.org/cl/10679047
This commit is contained in:
David Symonds 2013-07-03 08:16:08 +10:00
parent e555172592
commit 1f954e5c45

View File

@ -920,7 +920,7 @@ type (
Doc *CommentGroup // associated documentation; or nil
Recv *FieldList // receiver (methods); or nil (functions)
Name *Ident // function/method name
Type *FuncType // position of Func keyword, parameters and results
Type *FuncType // function signature: parameters, results, and position of "func" keyword
Body *BlockStmt // function body; or nil (forward declaration)
}
)