aboutsummaryrefslogtreecommitdiff
path: root/src/pkg/exp
diff options
context:
space:
mode:
authorMarcel van Lohuizen <mpvl@golang.org>2012-10-24 11:40:32 +0200
committerMarcel van Lohuizen <mpvl@golang.org>2012-10-24 11:40:32 +0200
commit34f2050626bd26a63fc7333555fbbad280abc214 (patch)
tree536f9ca12bc962491ec31c28c26d23635d993cd1 /src/pkg/exp
parenta35f23f34e1dbbbe23ac45563ae00de8e81d55ce (diff)
downloadgo-34f2050626bd26a63fc7333555fbbad280abc214.tar.xz
exp/locale/collate: clarification in comments on use of returned value.
R=r CC=golang-dev https://golang.org/cl/6752043
Diffstat (limited to 'src/pkg/exp')
-rw-r--r--src/pkg/exp/locale/collate/collate.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/pkg/exp/locale/collate/collate.go b/src/pkg/exp/locale/collate/collate.go
index 5853b710c3..59507e55b2 100644
--- a/src/pkg/exp/locale/collate/collate.go
+++ b/src/pkg/exp/locale/collate/collate.go
@@ -86,6 +86,7 @@ type Collator struct {
}
// Locales returns the list of locales for which collating differs from its parent locale.
+// The returned value should not be modified.
func Locales() []string {
return availableLocales
}