mirror of
https://github.com/golang/go
synced 2024-11-22 14:24:45 -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++ {
|
||||
switch d := depDecls[i].(type) {
|
||||
case *ast.FuncDecl:
|
||||
// Inpect type parameters.
|
||||
// Inspect type parameters.
|
||||
inspectFieldList(d.Type.TypeParams)
|
||||
// Inspect types of parameters and results. See #28492.
|
||||
inspectFieldList(d.Type.Params)
|
||||
|
Loading…
Reference in New Issue
Block a user