summaryrefslogtreecommitdiffstats
path: root/native
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2021-11-15 15:33:02 +0700
committerLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2021-11-15 15:33:02 +0700
commit1ce02e8c7aa7dae2122e3577788d04f2638b3a84 (patch)
tree4781cc016f2c99c1d63c222c8b6348ee48545cab /native
parent94d62bca9ac651888a42b7f878e4afb97688ad47 (diff)
downloadiced-1ce02e8c7aa7dae2122e3577788d04f2638b3a84.tar.gz
iced-1ce02e8c7aa7dae2122e3577788d04f2638b3a84.tar.bz2
iced-1ce02e8c7aa7dae2122e3577788d04f2638b3a84.zip
Derive `Eq` for `slider::State` again
Diffstat (limited to 'native')
-rw-r--r--native/src/widget/slider.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/native/src/widget/slider.rs b/native/src/widget/slider.rs
index 7a3e8071..3ce53f6c 100644
--- a/native/src/widget/slider.rs
+++ b/native/src/widget/slider.rs
@@ -144,7 +144,7 @@ where
}
/// The local state of a [`Slider`].
-#[derive(Debug, Clone, Copy, PartialEq, Default)]
+#[derive(Debug, Clone, Copy, PartialEq, Eq, Default)]
pub struct State {
is_dragging: bool,
}