Skip to content

Commit 5d4e8f5

Browse files
testwillgopherbot
authored andcommitted
go/doc: fix typo in comment
Change-Id: Idcfd649b8b8c8b47f5622702969bf2d43aa57354 GitHub-Last-Rev: cd38bee GitHub-Pull-Request: #65835 Reviewed-on: https://go-review.googlesource.com/c/go/+/565516 TryBot-Bypass: Robert Griesemer <[email protected]> Reviewed-by: Robert Griesemer <[email protected]> Auto-Submit: Robert Griesemer <[email protected]> Reviewed-by: qiulaidongfeng <[email protected]> LUCI-TryBot-Result: Go LUCI <[email protected]> Auto-Submit: Ian Lance Taylor <[email protected]> Reviewed-by: Ian Lance Taylor <[email protected]> Commit-Queue: Ian Lance Taylor <[email protected]>
1 parent 507d1b2 commit 5d4e8f5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/go/doc/example.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -388,7 +388,7 @@ func findDeclsAndUnresolved(body ast.Node, topDecls map[*ast.Object]ast.Decl, ty
388388
for i := 0; i < len(depDecls); i++ {
389389
switch d := depDecls[i].(type) {
390390
case *ast.FuncDecl:
391-
// Inpect type parameters.
391+
// Inspect type parameters.
392392
inspectFieldList(d.Type.TypeParams)
393393
// Inspect types of parameters and results. See #28492.
394394
inspectFieldList(d.Type.Params)

0 commit comments

Comments
 (0)