summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin Smith <ksmith.nop@gmail.com>2021-02-18 03:11:56 +0000
committerGopher Robot <gobot@golang.org>2022-05-09 17:43:42 +0000
commitb4bca84b03619dba00657375259024a7f8ae6712 (patch)
tree44246eb9dd44241eaf894fa1178254e4fdc2e0c3
parentea49e3e2d5b3f1518081d8bc53ffefc8bc60ecec (diff)
downloadgolang-x-text-b4bca84b03619dba00657375259024a7f8ae6712.tar.gz
language/display: fix Tag method comment
Minor fix to comment. Change-Id: I181de709f02faf433e97f38208039bf789e6b71d GitHub-Last-Rev: fd7f6501c5c677ba7f1d6779bb88cbf82c9a6f10 GitHub-Pull-Request: golang/text#19 Reviewed-on: https://go-review.googlesource.com/c/text/+/293469 Reviewed-by: Ian Lance Taylor <iant@google.com> Reviewed-by: Marcel van Lohuizen <mpvl@golang.org> Run-TryBot: Ian Lance Taylor <iant@google.com> Auto-Submit: Ian Lance Taylor <iant@google.com> Run-TryBot: Marcel van Lohuizen <mpvl@golang.org> Reviewed-by: Carlos Amedee <carlos@golang.org> TryBot-Result: Gopher Robot <gobot@golang.org>
-rw-r--r--language/display/display.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/language/display/display.go b/language/display/display.go
index d043da9..31bdd6c 100644
--- a/language/display/display.go
+++ b/language/display/display.go
@@ -85,7 +85,7 @@ func Script(script interface{}) Formatter {
return Formatter{scriptFunc, script}
}
-// Script returns a Formatter that renders the name for tag in the current
+// Tag returns a Formatter that renders the name for tag in the current
// language. tag may be a language.Tag.
// It renders tag in the default language if no translation for the current
// language is supported.