summaryrefslogtreecommitdiffstats
path: root/style/src/toggler.rs
diff options
context:
space:
mode:
Diffstat (limited to 'style/src/toggler.rs')
-rw-r--r--style/src/toggler.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/style/src/toggler.rs b/style/src/toggler.rs
index 16c014e6..c06a8cd1 100644
--- a/style/src/toggler.rs
+++ b/style/src/toggler.rs
@@ -41,7 +41,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)
}