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