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:
bors-servo 2015-12-18 14:23:15 +05:30
commit 6490d1e1c5
10 changed files with 20 additions and 9 deletions

View file

@ -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>>,
}