diff options
author | 2020-06-13 14:36:10 +0200 | |
---|---|---|
committer | 2020-06-13 14:36:10 +0200 | |
commit | 7bc7b603219b6c810e480ef5c7f8c4f7a9bf7cb6 (patch) | |
tree | b94adcb43fb7cb94e111411254795ca11cdf4877 /native/src/widget/slider.rs | |
parent | 4aed3ede921f84db5e01e1d8fc53b9ef56a74ac4 (diff) | |
download | iced-7bc7b603219b6c810e480ef5c7f8c4f7a9bf7cb6.tar.gz iced-7bc7b603219b6c810e480ef5c7f8c4f7a9bf7cb6.tar.bz2 iced-7bc7b603219b6c810e480ef5c7f8c4f7a9bf7cb6.zip |
Mention generic range in `Slider` documentation
Diffstat (limited to 'native/src/widget/slider.rs')
-rw-r--r-- | native/src/widget/slider.rs | 3 |
1 files changed, 2 insertions, 1 deletions
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 /// |