Unreviewed changes
1 is the latest approved patch-set.
The change was submitted with unreviewed changes in the following files:
```
The name of the file: _content/doc/go1.26.md
Insertions: 4, Deletions: 4.
@@ -51,15 +51,15 @@
has been lifted.
It is now possible to specify type constraints that refer to the generic type being
constrained.
-For instance, a generic type `Addable` may require that it be instantiated with a
-type that is also "addable":
+For instance, a generic type `Adder` may require that it be instantiated with a
+type that is like itself:
```go
-type Addable[A Addable[A]] interface {
+type Adder[A Adder[A]] interface {
Add(A) A
}
-func algo[A Addable[A]](x, y A) A {
+func algo[A Adder[A]](x, y A) A {
return x.Add(y)
}
```
```
Change information
Commit message:
_content/doc/go1.26: document removal of cycle restriction for type parameters
For golang/go#75005.
For golang/go#75883.
Change-Id: I5317913aecc82bd941067863c0a6ea7ae06451f3
Change size: S
Delta: 1 file changed, 22 insertions(+), 0 deletions(-)
Branch: refs/heads/master
Submit Requirements:
Code-Review: +1 by Robert Griesemer, +2 by Cherry Mui
TryBots-Pass: LUCI-TryBot-Result+1 by Go LUCI