From e418258993cc1a11816baf5d9004cea3b029ae7c Mon Sep 17 00:00:00 2001 From: "khr@golang.org" Date: Tue, 5 Dec 2023 22:54:10 +0000 Subject: [PATCH] doc: document new cmp.Or function Change-Id: I41ea06018daae2c929edc24a714007cede9296ed Reviewed-on: https://go-review.googlesource.com/c/go/+/547756 TryBot-Bypass: Keith Randall Reviewed-by: Than McIntosh Auto-Submit: Keith Randall Reviewed-by: Keith Randall --- doc/go1.22.html | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/doc/go1.22.html b/doc/go1.22.html index 12203742bd..05c7cc090c 100644 --- a/doc/go1.22.html +++ b/doc/go1.22.html @@ -243,12 +243,8 @@ Do not send CLs removing the interior tags from such phrases.
cmp
-

- TODO: https://go.dev/issue/60204: add Or -

- -

- TODO: https://go.dev/cl/504883: cmp: add Or; modified api/next/60204.txt +

+ The new function Or returns the first in a sequence of values that is not the zero value.

-- 2.50.0