]> Cypherpunks repositories - gostls13.git/commitdiff
weak: fix subheading syntax in package doc
authorthepudds <thepudds1460@gmail.com>
Thu, 5 Dec 2024 04:36:17 +0000 (23:36 -0500)
committerGopher Robot <gobot@golang.org>
Thu, 5 Dec 2024 14:57:05 +0000 (14:57 +0000)
Go doc comments only support one level of heading.

Change-Id: I458f211bc7547a0676a59fdcb72f52ca480bf184
Reviewed-on: https://go-review.googlesource.com/c/go/+/633881
Auto-Submit: Michael Knyszek <mknyszek@google.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
src/weak/doc.go

index 84911e10ee29ce03d3877bc0dee6b2fa67f4f1bf..e66d5ab5ac72d289a2c37c2d08afdfa3410627b3 100644 (file)
@@ -9,7 +9,7 @@ canonicalization maps (like the unique package), and for tying together
 the lifetimes of separate values (for example, through a map with weak
 keys).
 
-## Advice
+# Advice
 
 This package is intended to target niche use-cases like the unique
 package, and the structures inside are not intended to be general