aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJes Cok <xigua67damn@gmail.com>2024-05-18 08:05:08 +0800
committerGopher Robot <gobot@golang.org>2024-05-20 18:34:13 +0000
commitfd54936ea523f44835adc39f0a2cebccbcb742c3 (patch)
tree1fff18b7a9dad12a25f2fc3796616459ee136289
parentf726c8d0fdd33331d599548b90a7d488ca5324c1 (diff)
downloadgo-fd54936ea523f44835adc39f0a2cebccbcb742c3.tar.xz
doc: simplify links for release notes
Change-Id: If9e3c5a58726ae3628d2e835d71f1a4708594c11 Reviewed-on: https://go-review.googlesource.com/c/go/+/586575 LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org> Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org> Reviewed-by: Dmitri Shuralyov <dmitshur@google.com> Reviewed-by: Jonathan Amsterdam <jba@google.com>
-rw-r--r--doc/next/6-stdlib/2-unique.md2
-rw-r--r--doc/next/6-stdlib/3-iter.md10
-rw-r--r--doc/next/6-stdlib/99-minor/sync/atomic/61395.md4
3 files changed, 7 insertions, 9 deletions
diff --git a/doc/next/6-stdlib/2-unique.md b/doc/next/6-stdlib/2-unique.md
index 45f3a9bad3..42737a52fa 100644
--- a/doc/next/6-stdlib/2-unique.md
+++ b/doc/next/6-stdlib/2-unique.md
@@ -1,6 +1,6 @@
### New unique package
-The new [unique](/pkg/unique) package provides facilities for
+The new [unique] package provides facilities for
canonicalizing values (like "interning" or "hash-consing").
Any value of comparable type may be canonicalized with the new
diff --git a/doc/next/6-stdlib/3-iter.md b/doc/next/6-stdlib/3-iter.md
index a965efabb5..50179d949e 100644
--- a/doc/next/6-stdlib/3-iter.md
+++ b/doc/next/6-stdlib/3-iter.md
@@ -1,10 +1,9 @@
### Iterators
-The new [`iter` package](/pkg/iter/) provides the basic definitions for
-working with user-defined iterators.
+The new [iter] package provides the basic definitions for working with
+user-defined iterators.
-The [`slices` package](/pkg/slices/) adds several functions that work
-with iterators:
+The [slices] package adds several functions that work with iterators:
- [All](/pkg/slices#All) returns an iterator over slice indexes and values.
- [Values](/pkg/slices#Values) returns an iterator over slice elements.
- [Backward](/pkg/slices#Backward) returns an iterator that loops over
@@ -22,8 +21,7 @@ with iterators:
- [Chunk](/pkg/slices#Chunk) returns an iterator over consecutive
sub-slices of up to n elements of a slice.
-The [`maps` package](/pkg/maps/) adds several functions that work
-with iterators:
+The [maps] package adds several functions that work with iterators:
- [All](/pkg/maps#All) returns an iterator over key-value pairs from m.
- [Keys](/pkg/maps#Keys) returns an iterator over keys in m.
- [Values](/pkg/maps#Values) returns an iterator over values in m.
diff --git a/doc/next/6-stdlib/99-minor/sync/atomic/61395.md b/doc/next/6-stdlib/99-minor/sync/atomic/61395.md
index 05359347f4..8aea9d6bf3 100644
--- a/doc/next/6-stdlib/99-minor/sync/atomic/61395.md
+++ b/doc/next/6-stdlib/99-minor/sync/atomic/61395.md
@@ -1,3 +1,3 @@
<!-- Issue #61395 -->
-The new [`atomic.And`](/pkg/sync/atomic#And) and [`atomic.Or`](/pkg/sync/atomic#Or)
-operators apply a bitwise `AND` or `OR` to the given input, returning the old value.
+The new [And] and [Or] operators apply a bitwise `AND` or `OR` to
+the given input, returning the old value.