From 7bc7b603219b6c810e480ef5c7f8c4f7a9bf7cb6 Mon Sep 17 00:00:00 2001 From: Héctor Ramón Jiménez Date: Sat, 13 Jun 2020 14:36:10 +0200 Subject: Mention generic range in `Slider` documentation --- native/src/widget/slider.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'native') diff --git a/native/src/widget/slider.rs b/native/src/widget/slider.rs index 0b7f424c..70f2b6ac 100644 --- a/native/src/widget/slider.rs +++ b/native/src/widget/slider.rs @@ -16,7 +16,8 @@ use std::{hash::Hash, ops::RangeInclusive}; /// /// A [`Slider`] will try to fill the horizontal space of its container. /// -/// The step size defaults to 1.0. +/// The [`Slider`] range of numeric values is generic and its step size defaults +/// to 1 unit. /// /// [`Slider`]: struct.Slider.html /// -- cgit