From ce43fb806f8fc1442adfef812db9301910d3210c Mon Sep 17 00:00:00 2001
From: Alan Donovan
Date: Mon, 11 Dec 2023 17:50:08 -0500
Subject: [PATCH] doc/go1.22: document ast.Unparen
Updates #60061
Change-Id: Ifa51f0bac0346ebc352c7524204aa94336a2b5ad
Reviewed-on: https://go-review.googlesource.com/c/go/+/548882
LUCI-TryBot-Result: Go LUCI
Reviewed-by: Michael Pratt
---
doc/go1.22.html | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/doc/go1.22.html b/doc/go1.22.html
index f1e713cb9e..a7a51a1ffd 100644
--- a/doc/go1.22.html
+++ b/doc/go1.22.html
@@ -492,7 +492,10 @@ defer func() {
- TODO: https://go.dev/issue/60061: go/ast: add func Unparen(Expr) Expr
+ The new ast.Unparen
+ function removes any enclosing
+ parentheses from
+ an expression.
--
2.48.1