diff options
Diffstat (limited to 'components/selectors/parser.rs')
-rw-r--r-- | components/selectors/parser.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/selectors/parser.rs b/components/selectors/parser.rs index dead7875d0f..99b73353abf 100644 --- a/components/selectors/parser.rs +++ b/components/selectors/parser.rs @@ -84,7 +84,7 @@ macro_rules! with_all_bounds { /// are parameterized on SelectorImpl. See /// <https://github.com/rust-lang/rust/issues/26925> pub trait SelectorImpl: Clone + Sized + 'static { - type ExtraMatchingData: Sized + 'static; + type ExtraMatchingData: Sized + Default + 'static; type AttrValue: $($InSelector)*; type Identifier: $($InSelector)* + PrecomputedHash; type ClassName: $($InSelector)* + PrecomputedHash; |