From 6b859d9d5816bd3eaeff40eece7bd797b2824e8f Mon Sep 17 00:00:00 2001 From: Will Faught Date: Fri, 28 Apr 2023 23:44:50 +0000 Subject: [PATCH] text/template: reword uncover to unwrap Matches the preceding "wrap" terminology. Change-Id: Ia783de578c2942fe1474281c3d6056b1074d41b0 GitHub-Last-Rev: 4fcff4e9b2836d428ba668186441089a9618c028 GitHub-Pull-Request: golang/go#59891 Reviewed-on: https://go-review.googlesource.com/c/go/+/490675 TryBot-Result: Gopher Robot Run-TryBot: Ian Lance Taylor Reviewed-by: Ian Lance Taylor Auto-Submit: Ian Lance Taylor Reviewed-by: Carlos Amedee --- src/text/template/funcs.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/text/template/funcs.go b/src/text/template/funcs.go index dbea6e705a..b5a8c9ec50 100644 --- a/src/text/template/funcs.go +++ b/src/text/template/funcs.go @@ -23,7 +23,7 @@ import ( // Execute returns that error. // // Errors returned by Execute wrap the underlying error; call errors.As to -// uncover them. +// unwrap them. // // When template execution invokes a function with an argument list, that list // must be assignable to the function's parameter types. Functions meant to -- 2.50.0