mirror of
https://github.com/servo/servo.git
synced 2025-08-05 21:50:18 +01:00
Remove unnecessary clone in LRUCache::touch
This commit is contained in:
parent
d2717c4475
commit
dc6be7bba5
2 changed files with 5 additions and 5 deletions
|
@ -351,7 +351,7 @@ impl<C: ComputedValues> StyleSharingCandidateCache<C> {
|
|||
}
|
||||
|
||||
pub fn touch(&mut self, index: usize) {
|
||||
self.cache.touch(index)
|
||||
self.cache.touch(index);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue