summaryrefslogtreecommitdiffstats
path: root/widget/src/slider.rs
diff options
context:
space:
mode:
Diffstat (limited to 'widget/src/slider.rs')
-rw-r--r--widget/src/slider.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/widget/src/slider.rs b/widget/src/slider.rs
index b9419232..e586684a 100644
--- a/widget/src/slider.rs
+++ b/widget/src/slider.rs
@@ -70,8 +70,8 @@ where
/// * an inclusive range of possible values
/// * the current value of the [`Slider`]
/// * a function that will be called when the [`Slider`] is dragged.
- /// It receives the new value of the [`Slider`] and must produce a
- /// `Message`.
+ /// It receives the new value of the [`Slider`] and must produce a
+ /// `Message`.
pub fn new<F>(range: RangeInclusive<T>, value: T, on_change: F) -> Self
where
F: 'a + Fn(T) -> Message,