mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Auto merge of #9013 - antrik:debug-fontgroup, r=Ms2ger
Derive Debug for FontGroup and Homu is a bully <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9013) <!-- Reviewable:end -->
This commit is contained in:
commit
6490d1e1c5
10 changed files with 20 additions and 9 deletions
|
@ -12,7 +12,11 @@ use std::hash::{Hash, Hasher, SipHasher};
|
|||
use std::slice::Iter;
|
||||
|
||||
|
||||
pub struct HashCache<K, V> {
|
||||
#[derive(Debug)]
|
||||
pub struct HashCache<K, V>
|
||||
where K: Clone + PartialEq + Eq + Hash,
|
||||
V: Clone,
|
||||
{
|
||||
entries: HashMap<K, V, DefaultState<SipHasher>>,
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue