From 34f2050626bd26a63fc7333555fbbad280abc214 Mon Sep 17 00:00:00 2001 From: Marcel van Lohuizen Date: Wed, 24 Oct 2012 11:40:32 +0200 Subject: [PATCH] exp/locale/collate: clarification in comments on use of returned value. R=r CC=golang-dev https://golang.org/cl/6752043 --- src/pkg/exp/locale/collate/collate.go | 1 + 1 file changed, 1 insertion(+) 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 } -- 2.50.0