From d68800e607bfc09541e84277176edaba1dee1e15 Mon Sep 17 00:00:00 2001 From: Patrick Mylund Nielsen Date: Mon, 22 Dec 2014 02:09:42 -0500 Subject: [PATCH] s/with the same caveats/subject to the same caveat/ in NewFrom doc --- cache.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cache.go b/cache.go index c243579..595529d 100644 --- a/cache.go +++ b/cache.go @@ -1010,8 +1010,8 @@ func New(defaultExpiration, cleanupInterval time.Duration) *Cache { // // Only the cache's methods synchronize access to this map, so it is not // recommended to keep any references to the map around after creating a cache. -// If need be, the map can be accessed at a later point using c.Items() (with -// the same caveats.) +// If need be, the map can be accessed at a later point using c.Items() (subject +// to the same caveat.) // // Note regarding serialization: When using e.g. gob, make sure to gob.Register // the individual types stored in the cache before encoding a map retrieved with