diff options
author | 2024-07-26 11:01:33 +0200 | |
---|---|---|
committer | 2024-07-26 11:01:33 +0200 | |
commit | 555ee3e9c66010c9a90c3ef55d61fbffd48e669d (patch) | |
tree | 0e11497452dbf53332cdf0a2e7f946e2157e2aea /widget/src/vertical_slider.rs | |
parent | f18f08bd617edbf58787ec4f379aa52c0ef292e2 (diff) | |
download | iced-555ee3e9c66010c9a90c3ef55d61fbffd48e669d.tar.gz iced-555ee3e9c66010c9a90c3ef55d61fbffd48e669d.tar.bz2 iced-555ee3e9c66010c9a90c3ef55d61fbffd48e669d.zip |
Fix lints for Rust 1.80
Diffstat (limited to 'widget/src/vertical_slider.rs')
-rw-r--r-- | widget/src/vertical_slider.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/widget/src/vertical_slider.rs b/widget/src/vertical_slider.rs index 6185295b..f21b996c 100644 --- a/widget/src/vertical_slider.rs +++ b/widget/src/vertical_slider.rs @@ -72,8 +72,8 @@ where /// * an inclusive range of possible values /// * the current value of the [`VerticalSlider`] /// * a function that will be called when the [`VerticalSlider`] is dragged. - /// It receives the new value of the [`VerticalSlider`] and must produce a - /// `Message`. + /// It receives the new value of the [`VerticalSlider`] and must produce a + /// `Message`. pub fn new<F>(range: RangeInclusive<T>, value: T, on_change: F) -> Self where F: 'a + Fn(T) -> Message, |