Skip to content

Commit e140590

Browse files
committed
go/packages: remove obsolete comment about LoadMode in doc.go
The comment referred to each mode returning more data about previous modes, which was true about the old LoadMode hierarchy, but doesn't apply to the new bits system. Updates golang/go#35872 Change-Id: Id8354f49fdebcb231df8e5ece58644a29d678e4a Reviewed-on: https://go-review.googlesource.com/c/tools/+/209977 Run-TryBot: Michael Matloob <[email protected]> TryBot-Result: Gobot Gobot <[email protected]> Reviewed-by: Brad Fitzpatrick <[email protected]>
1 parent d1f10d1 commit e140590

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

go/packages/doc.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,7 @@ causes Load to run in LoadFiles mode, collecting minimal information.
6060
See the documentation for type Config for details.
6161
6262
As noted earlier, the Config.Mode controls the amount of detail
63-
reported about the loaded packages, with each mode returning all the data of the
64-
previous mode with some extra added. See the documentation for type LoadMode
63+
reported about the loaded packages. See the documentation for type LoadMode
6564
for details.
6665
6766
Most tools should pass their command-line arguments (after any flags)

0 commit comments

Comments
 (0)