diff options
Diffstat (limited to 'style/src/rule.rs')
-rw-r--r-- | style/src/rule.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/style/src/rule.rs b/style/src/rule.rs index 997bb1e9..12a40f7d 100644 --- a/style/src/rule.rs +++ b/style/src/rule.rs @@ -103,7 +103,7 @@ impl StyleSheet for Default { } } -impl std::default::Default for Box<dyn StyleSheet> { +impl<'a> std::default::Default for Box<dyn StyleSheet + 'a> { fn default() -> Self { Box::new(Default) } |