Mention generic range in Slider documentation

This commit is contained in:
Héctor Ramón Jiménez 2020-06-13 14:36:10 +02:00
parent 4aed3ede92
commit 7bc7b60321

View File

@ -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
///