From: Marcel van Lohuizen Date: Wed, 24 Oct 2012 09:40:32 +0000 (+0200) Subject: exp/locale/collate: clarification in comments on use of returned value. X-Git-Tag: go1.1rc2~2064 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=34f2050626bd26a63fc7333555fbbad280abc214;p=gostls13.git exp/locale/collate: clarification in comments on use of returned value. R=r CC=golang-dev https://golang.org/cl/6752043 --- 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 }