summaryrefslogtreecommitdiffstats
path: root/widget/src/helpers.rs
diff options
context:
space:
mode:
Diffstat (limited to 'widget/src/helpers.rs')
-rw-r--r--widget/src/helpers.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/widget/src/helpers.rs b/widget/src/helpers.rs
index 01645bc9..33c9f300 100644
--- a/widget/src/helpers.rs
+++ b/widget/src/helpers.rs
@@ -324,7 +324,7 @@ pub fn vertical_space() -> Space {
/// [`Rule`]: crate::Rule
pub fn horizontal_rule<Theme>(height: impl Into<Pixels>) -> Rule<Theme>
where
- Theme: rule::StyleSheet,
+ Theme: rule::Style,
{
Rule::horizontal(height)
}
@@ -334,7 +334,7 @@ where
/// [`Rule`]: crate::Rule
pub fn vertical_rule<Theme>(width: impl Into<Pixels>) -> Rule<Theme>
where
- Theme: rule::StyleSheet,
+ Theme: rule::Style,
{
Rule::vertical(width)
}