go/analysis/passes/inspect: fix example return

Change-Id: I9e248c45078d36ded9c6008e2b7e2c8bf8586df1
GitHub-Last-Rev: 33900677c6118060af36c6ec16db5b937912ae61
GitHub-Pull-Request: golang/tools#390
Reviewed-on: https://go-review.googlesource.com/c/tools/+/425204
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Tim King <taking@google.com>
gopls-CI: kokoro <noreply+kokoro@google.com>
Reviewed-by: Tim King <taking@google.com>
Reviewed-by: Heschi Kreinick <heschi@google.com>
This commit is contained in:
Abirdcfly 2022-09-01 01:49:25 +00:00 committed by Tim King
parent 5ba85415fa
commit be9eab19b4
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@
// inspect.Preorder(nil, func(n ast.Node) {
// ...
// })
// return nil
// return nil, nil
// }
package inspect