]> Cypherpunks repositories - gostls13.git/commitdiff
exp/locale/collate: clarification in comments on use of returned value.
authorMarcel van Lohuizen <mpvl@golang.org>
Wed, 24 Oct 2012 09:40:32 +0000 (11:40 +0200)
committerMarcel van Lohuizen <mpvl@golang.org>
Wed, 24 Oct 2012 09:40:32 +0000 (11:40 +0200)
R=r
CC=golang-dev
https://golang.org/cl/6752043

src/pkg/exp/locale/collate/collate.go

index 5853b710c337f025980c6eee8d2fe98e5d040a9e..59507e55b2cc83f38750b604d34b4aa80a2dbace 100644 (file)
@@ -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
 }