From 5d4e8f5162c97d9a51abbe55d0042fea9c6be3a0 Mon Sep 17 00:00:00 2001 From: guoguangwu Date: Thu, 22 Feb 2024 01:25:52 +0000 Subject: [PATCH] go/doc: fix typo in comment Change-Id: Idcfd649b8b8c8b47f5622702969bf2d43aa57354 GitHub-Last-Rev: cd38bee1917377a5057d6dd7c911c55e79c59eae GitHub-Pull-Request: golang/go#65835 Reviewed-on: https://go-review.googlesource.com/c/go/+/565516 TryBot-Bypass: Robert Griesemer Reviewed-by: Robert Griesemer Auto-Submit: Robert Griesemer Reviewed-by: qiulaidongfeng <2645477756@qq.com> LUCI-TryBot-Result: Go LUCI Auto-Submit: Ian Lance Taylor Reviewed-by: Ian Lance Taylor Commit-Queue: Ian Lance Taylor --- 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)