mirror of
https://github.com/golang/go
synced 2024-11-22 18:34:51 -07:00
go/doc: fix typo in comment
Signed-off-by: guoguangwu <guoguangwu@magic-shield.com>
This commit is contained in:
parent
d4112310a4
commit
cd38bee191
@ -388,7 +388,7 @@ func findDeclsAndUnresolved(body ast.Node, topDecls map[*ast.Object]ast.Decl, ty
|
|||||||
for i := 0; i < len(depDecls); i++ {
|
for i := 0; i < len(depDecls); i++ {
|
||||||
switch d := depDecls[i].(type) {
|
switch d := depDecls[i].(type) {
|
||||||
case *ast.FuncDecl:
|
case *ast.FuncDecl:
|
||||||
// Inpect type parameters.
|
// Inspect type parameters.
|
||||||
inspectFieldList(d.Type.TypeParams)
|
inspectFieldList(d.Type.TypeParams)
|
||||||
// Inspect types of parameters and results. See #28492.
|
// Inspect types of parameters and results. See #28492.
|
||||||
inspectFieldList(d.Type.Params)
|
inspectFieldList(d.Type.Params)
|
||||||
|
Loading…
Reference in New Issue
Block a user