Merge pull request #2775 from ethcore/fix-master

Fix warning in master
This commit is contained in:
Robert Habermeier 2016-10-21 12:11:24 +02:00 committed by GitHub
commit 31bb0c59f0

View File

@ -47,7 +47,7 @@ impl ContentCache {
}
pub fn clear_garbage(&mut self, expected_size: usize) -> Vec<(String, ContentStatus)> {
let mut len = self.cache.len();
let len = self.cache.len();
if len <= expected_size {
return Vec::new();