diff options
author | 2022-07-09 18:03:59 +0200 | |
---|---|---|
committer | 2022-07-09 18:03:59 +0200 | |
commit | 2f76a10a1d3617e414fb33c0c6cd5cb7782197ad (patch) | |
tree | c5c1d4e9e29752abc15d1f3559369e42c1bbb772 /native/src/widget/slider.rs | |
parent | 33a24b58210c88571f789ee27495e3ee3a55e3a4 (diff) | |
download | iced-2f76a10a1d3617e414fb33c0c6cd5cb7782197ad.tar.gz iced-2f76a10a1d3617e414fb33c0c6cd5cb7782197ad.tar.bz2 iced-2f76a10a1d3617e414fb33c0c6cd5cb7782197ad.zip |
Fix further `clippy` lints
... and explicitly annotate crates as well.
Diffstat (limited to 'native/src/widget/slider.rs')
-rw-r--r-- | native/src/widget/slider.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/native/src/widget/slider.rs b/native/src/widget/slider.rs index c75c1e99..a5ff611c 100644 --- a/native/src/widget/slider.rs +++ b/native/src/widget/slider.rs @@ -410,7 +410,7 @@ where layout, cursor_position, shell, - &mut self.state, + self.state, &mut self.value, &self.range, self.step, @@ -432,7 +432,7 @@ where renderer, layout, cursor_position, - &self.state, + self.state, self.value, &self.range, theme, |