diff options
| author | Jonathan Amsterdam <jba@google.com> | 2022-04-22 10:10:23 -0400 |
|---|---|---|
| committer | Jonathan Amsterdam <jba@google.com> | 2022-05-10 23:13:45 +0000 |
| commit | f12461cb0f3878b6d332f4be3a02fa44cc744df6 (patch) | |
| tree | 0cce5c626f2931e55b09530888b8b2f36056e5ac /src/runtime/mpagealloc.go | |
| parent | 6fd0520db3cffad4fd01c98319b9b1bf3c50f5e2 (diff) | |
| download | go-f12461cb0f3878b6d332f4be3a02fa44cc744df6.tar.xz | |
go/doc: remove unused top-level declarations from playable example
When we synthesize a playable example, prune declarations that may be
in the original example file but aren't used by the example.
This is ported from pkgsite, where it fixed #43658.
Change-Id: I41e6d4c28afa993c77c8a82b47bd86ba15ed13b7
Reviewed-on: https://go-review.googlesource.com/c/go/+/401758
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Jonathan Amsterdam <jba@google.com>
Reviewed-by: Robert Findley <rfindley@google.com>
Diffstat (limited to 'src/runtime/mpagealloc.go')
0 files changed, 0 insertions, 0 deletions
