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:
parent
e555172592
commit
1f954e5c45
@ -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)
|
||||
}
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user