Skip to content

Commit

Permalink
Apply rustfmt
Browse files Browse the repository at this point in the history
  • Loading branch information
tatsuya6502 committed Jan 27, 2024
1 parent 8ac62ed commit b32f05b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion src/future/base_cache.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1759,7 +1759,9 @@ where
candidate.add_frequency(freq, kh.hash);
Self::admit(&candidate, &self.cache, deqs, freq)
}
EvictionPolicy::Lru => AdmissionResult::Admitted { victim_keys: SmallVec::default() },
EvictionPolicy::Lru => AdmissionResult::Admitted {
victim_keys: SmallVec::default(),
},
};

match admission_result {
Expand Down
4 changes: 3 additions & 1 deletion src/sync_base/base_cache.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1571,7 +1571,9 @@ where
candidate.add_frequency(freq, kh.hash);
Self::admit(&candidate, &self.cache, deqs, freq)
}
EvictionPolicy::Lru => AdmissionResult::Admitted { victim_keys: SmallVec::default() },
EvictionPolicy::Lru => AdmissionResult::Admitted {
victim_keys: SmallVec::default(),
},
};

match admission_result {
Expand Down

0 comments on commit b32f05b

Please sign in to comment.