Skip to content

Commit 61c22eb

Browse files
committed
doc: fix a link to runtime Environment Variables
This link should be a `/runtime#hdr-Environment_Variables`, not `/runtime#hdr-Environment_Variable`.
1 parent 96a6e14 commit 61c22eb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

doc/godebug.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ Go 1.25 switched to SHA-256 to fill in missing SubjectKeyId in
187187
crypto/x509.CreateCertificate. The setting `x509sha256skid=0` reverts to SHA-1.
188188

189189
Go 1.25 corrected the semantics of contention reports for runtime-internal locks,
190-
and so removed the [`runtimecontentionstacks` setting](/pkg/runtime#hdr-Environment_Variable).
190+
and so removed the [`runtimecontentionstacks` setting](/pkg/runtime#hdr-Environment_Variables).
191191

192192
### Go 1.24
193193

@@ -369,7 +369,7 @@ In particular, a common default Linux kernel configuration can result in
369369
significant memory overheads, and Go 1.22 no longer works around this default.
370370
To work around this issue without adjusting kernel settings, transparent huge
371371
pages can be disabled for Go memory with the
372-
[`disablethp` setting](/pkg/runtime#hdr-Environment_Variable).
372+
[`disablethp` setting](/pkg/runtime#hdr-Environment_Variables).
373373
This behavior was backported to Go 1.21.1, but the setting is only available
374374
starting with Go 1.21.6.
375375
This setting may be removed in a future release, and users impacted by this issue
@@ -381,7 +381,7 @@ Go 1.22 added contention on runtime-internal locks to the [`mutex`
381381
profile](/pkg/runtime/pprof#Profile). Contention on these locks is always
382382
reported at `runtime._LostContendedRuntimeLock`. Complete stack traces of
383383
runtime locks can be enabled with the [`runtimecontentionstacks`
384-
setting](/pkg/runtime#hdr-Environment_Variable). These stack traces have
384+
setting](/pkg/runtime#hdr-Environment_Variables). These stack traces have
385385
non-standard semantics, see setting documentation for details.
386386

387387
Go 1.22 added a new [`crypto/x509.Certificate`](/pkg/crypto/x509/#Certificate)

0 commit comments

Comments
 (0)