File tree Expand file tree Collapse file tree 3 files changed +7
-9
lines changed Expand file tree Collapse file tree 3 files changed +7
-9
lines changed Original file line number Diff line number Diff line change 1
1
### New unique package
2
2
3
- The new [ unique] ( /pkg/unique ) package provides facilities for
3
+ The new [ unique] package provides facilities for
4
4
canonicalizing values (like "interning" or "hash-consing").
5
5
6
6
Any value of comparable type may be canonicalized with the new
Original file line number Diff line number Diff line change 1
1
### Iterators
2
2
3
- The new [ ` iter ` package] ( /pkg/iter/ ) provides the basic definitions for
4
- working with user-defined iterators.
3
+ The new [ iter] package provides the basic definitions for working with
4
+ user-defined iterators.
5
5
6
- The [ ` slices ` package] ( /pkg/slices/ ) adds several functions that work
7
- with iterators:
6
+ The [ slices] package adds several functions that work with iterators:
8
7
- [ All] ( /pkg/slices#All ) returns an iterator over slice indexes and values.
9
8
- [ Values] ( /pkg/slices#Values ) returns an iterator over slice elements.
10
9
- [ Backward] ( /pkg/slices#Backward ) returns an iterator that loops over
@@ -22,8 +21,7 @@ with iterators:
22
21
- [ Chunk] ( /pkg/slices#Chunk ) returns an iterator over consecutive
23
22
sub-slices of up to n elements of a slice.
24
23
25
- The [ ` maps ` package] ( /pkg/maps/ ) adds several functions that work
26
- with iterators:
24
+ The [ maps] package adds several functions that work with iterators:
27
25
- [ All] ( /pkg/maps#All ) returns an iterator over key-value pairs from m.
28
26
- [ Keys] ( /pkg/maps#Keys ) returns an iterator over keys in m.
29
27
- [ Values] ( /pkg/maps#Values ) returns an iterator over values in m.
Original file line number Diff line number Diff line change 1
1
<!-- Issue #61395 -->
2
- The new [ ` atomic. And` ] ( /pkg/sync/atomic#And ) and [ ` atomic.Or ` ] ( /pkg/sync/atomic#Or )
3
- operators apply a bitwise ` AND ` or ` OR ` to the given input, returning the old value.
2
+ The new [ And] and [ Or ] operators apply a bitwise ` AND ` or ` OR ` to
3
+ the given input, returning the old value.
You can’t perform that action at this time.
0 commit comments