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>
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 @@
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.