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.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/style/src/progress_bar.rs b/style/src/progress_bar.rs
index 768e7c9c..506d634f 100644
--- a/style/src/progress_bar.rs
+++ b/style/src/progress_bar.rs
@@ -11,7 +11,7 @@ pub struct Appearance {
/// A set of rules that dictate the style of a progress bar.
pub trait StyleSheet {
- type Style: Default + Copy;
+ type Style: Default;
- fn appearance(&self, style: Self::Style) -> Appearance;
+ fn appearance(&self, style: &Self::Style) -> Appearance;
}