From cd38bee1917377a5057d6dd7c911c55e79c59eae Mon Sep 17 00:00:00 2001 From: guoguangwu Date: Wed, 21 Feb 2024 14:23:59 +0800 Subject: [PATCH] go/doc: fix typo in comment Signed-off-by: guoguangwu --- src/go/doc/example.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/go/doc/example.go b/src/go/doc/example.go index 6687ba8614b..684113d099f 100644 --- a/src/go/doc/example.go +++ b/src/go/doc/example.go @@ -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)