mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
LRUCache::new -> LRUCache::default.
MozReview-Commit-ID: KouOaYTluRx
This commit is contained in:
parent
8b6c5988b5
commit
13a3cf27a8
3 changed files with 6 additions and 5 deletions
|
@ -415,7 +415,7 @@ struct SharingCacheBase<Candidate> {
|
|||
impl<Candidate> Default for SharingCacheBase<Candidate> {
|
||||
fn default() -> Self {
|
||||
Self {
|
||||
entries: LRUCache::new(),
|
||||
entries: LRUCache::default(),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue