changeset 155:6e84fedbe441

Better explain what a Cache ID is
author Lewin Bormann <lbo@spheniscida.de>
date Sun, 09 Jul 2017 10:53:26 +0200
parents c4b97788d886
children 94d50060a94a
files src/cache.rs
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/cache.rs	Sun Feb 26 09:15:05 2017 +0100
+++ b/src/cache.rs	Sun Jul 09 10:53:26 2017 +0200
@@ -177,7 +177,8 @@
         }
     }
 
-    /// Returns a per-cache ID that can be used to partition the cache among several users.
+    /// Returns an ID that is unique for this cache and that can be used to partition the cache
+    /// among several users.
     pub fn new_cache_id(&mut self) -> CacheID {
         self.id += 1;
         return self.id;