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