summaryrefslogtreecommitdiffstats
path: root/web
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2020-06-13 15:04:49 +0200
committerLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2020-06-13 15:04:49 +0200
commitf5e16312bfa02eac13ce46aa97831c554151e2f8 (patch)
treeb9d563fed625a61afd5bbd55e44e553dd1bbf05c /web
parent6b4a4655c1e533c789308b180f4d3596e62b0179 (diff)
downloadiced-f5e16312bfa02eac13ce46aa97831c554151e2f8.tar.gz
iced-f5e16312bfa02eac13ce46aa97831c554151e2f8.tar.bz2
iced-f5e16312bfa02eac13ce46aa97831c554151e2f8.zip
Update `Slider` docs in `iced_web`
Diffstat (limited to 'web')
-rw-r--r--web/src/widget/slider.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/web/src/widget/slider.rs b/web/src/widget/slider.rs
index afeedb2d..a0d9df00 100644
--- a/web/src/widget/slider.rs
+++ b/web/src/widget/slider.rs
@@ -16,7 +16,8 @@ use std::{ops::RangeInclusive, rc::Rc};
///
/// 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
///