Remove unnecessary clone in LRUCache::touch

This commit is contained in:
Matt Brubeck 2016-05-13 18:13:53 -07:00
parent d2717c4475
commit dc6be7bba5
2 changed files with 5 additions and 5 deletions

View file

@ -351,7 +351,7 @@ impl<C: ComputedValues> StyleSharingCandidateCache<C> {
}
pub fn touch(&mut self, index: usize) {
self.cache.touch(index)
self.cache.touch(index);
}
}