diff options
-rw-r--r-- | components/util/cache.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/util/cache.rs b/components/util/cache.rs index 2f4e88b5f0e..8719c176921 100644 --- a/components/util/cache.rs +++ b/components/util/cache.rs @@ -192,7 +192,7 @@ fn test_lru_cache() { let four = Cell::new("four"); // Test normal insertion. - let mut cache: LRUCache<uint,Cell<&str>> = LRUCache::new(2); // (_, _) (cache is empty) + let mut cache: LRUCache<usize,Cell<&str>> = LRUCache::new(2); // (_, _) (cache is empty) cache.insert(1, one); // (1, _) cache.insert(2, two); // (1, 2) cache.insert(3, three); // (2, 3) |