From: zigo101 <22589241+zigo101@users.noreply.github.com> Date: Mon, 17 Nov 2025 02:33:01 +0000 (+0000) Subject: spec: escape double-ampersands X-Git-Tag: go1.26rc1~239 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=33529db142dab098d4687f99e27e6284c31fa039;p=gostls13.git spec: escape double-ampersands Change-Id: I7ce375f975a86e4c2494d2003aeb9b4a86caff3e GitHub-Last-Rev: a368bc020816cdadb06a918bd90576b490879ae8 GitHub-Pull-Request: golang/go#76299 Reviewed-on: https://go-review.googlesource.com/c/go/+/720460 Auto-Submit: Sean Liao Reviewed-by: Keith Randall Reviewed-by: Mark Freeman Reviewed-by: Sean Liao LUCI-TryBot-Result: Go LUCI --- diff --git a/doc/go_spec.html b/doc/go_spec.html index a2f22e31db..77400ad210 100644 --- a/doc/go_spec.html +++ b/doc/go_spec.html @@ -4857,7 +4857,7 @@ For instance, x / y * z is the same as (x / y) * z. x <= f() // x <= f() ^a >> b // (^a) >> b f() || g() // f() || g() -x == y+1 && <-chanInt > 0 // (x == (y+1)) && ((<-chanInt) > 0) +x == y+1 && <-chanInt > 0 // (x == (y+1)) && ((<-chanInt) > 0) @@ -6867,7 +6867,7 @@ type Tree[K cmp.Ordered, V any] struct { } func (t *Tree[K, V]) walk(yield func(key K, val V) bool) bool { - return t == nil || t.left.walk(yield) && yield(t.key, t.value) && t.right.walk(yield) + return t == nil || t.left.walk(yield) && yield(t.key, t.value) && t.right.walk(yield) } func (t *Tree[K, V]) Walk(yield func(key K, val V) bool) {