From 555ee3e9c66010c9a90c3ef55d61fbffd48e669d Mon Sep 17 00:00:00 2001 From: Héctor Ramón Jiménez Date: Fri, 26 Jul 2024 11:01:33 +0200 Subject: Fix lints for Rust 1.80 --- widget/src/slider.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'widget/src/slider.rs') diff --git a/widget/src/slider.rs b/widget/src/slider.rs index b9419232..e586684a 100644 --- a/widget/src/slider.rs +++ b/widget/src/slider.rs @@ -70,8 +70,8 @@ where /// * an inclusive range of possible values /// * the current value of the [`Slider`] /// * a function that will be called when the [`Slider`] is dragged. - /// It receives the new value of the [`Slider`] and must produce a - /// `Message`. + /// It receives the new value of the [`Slider`] and must produce a + /// `Message`. pub fn new(range: RangeInclusive, value: T, on_change: F) -> Self where F: 'a + Fn(T) -> Message, -- cgit