aboutsummaryrefslogtreecommitdiff
path: root/src/text/template
diff options
context:
space:
mode:
authorWill Faught <willfaught@users.noreply.github.com>2023-04-28 23:44:50 +0000
committerGopher Robot <gobot@golang.org>2023-05-01 15:57:43 +0000
commit6b859d9d5816bd3eaeff40eece7bd797b2824e8f (patch)
treefad9904d5dcd9c27c41ac41e3bb9398496b6f924 /src/text/template
parent8f763b55a58855b88f0afe28f21e3870fff42ee8 (diff)
downloadgo-6b859d9d5816bd3eaeff40eece7bd797b2824e8f.tar.xz
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 <gobot@golang.org> Run-TryBot: Ian Lance Taylor <iant@google.com> Reviewed-by: Ian Lance Taylor <iant@google.com> Auto-Submit: Ian Lance Taylor <iant@google.com> Reviewed-by: Carlos Amedee <carlos@golang.org>
Diffstat (limited to 'src/text/template')
-rw-r--r--src/text/template/funcs.go2
1 files changed, 1 insertions, 1 deletions
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