diff options
| author | guoguangwu <guoguangwu@magic-shield.com> | 2024-02-22 01:25:52 +0000 |
|---|---|---|
| committer | Gopher Robot <gobot@golang.org> | 2024-02-22 01:57:32 +0000 |
| commit | 5d4e8f5162c97d9a51abbe55d0042fea9c6be3a0 (patch) | |
| tree | 4f9c2230f11f54ca20a6915e7a7d39dbde2d4831 /src | |
| parent | 507d1b22f4b58ac68841582d0c2c0ab6b20e5a98 (diff) | |
| download | go-5d4e8f5162c97d9a51abbe55d0042fea9c6be3a0.tar.xz | |
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 <gri@google.com>
Reviewed-by: Robert Griesemer <gri@google.com>
Auto-Submit: Robert Griesemer <gri@google.com>
Reviewed-by: qiulaidongfeng <2645477756@qq.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Auto-Submit: Ian Lance Taylor <iant@google.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Commit-Queue: Ian Lance Taylor <iant@google.com>
Diffstat (limited to 'src')
| -rw-r--r-- | src/go/doc/example.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/go/doc/example.go b/src/go/doc/example.go index 6687ba8614..684113d099 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) |
