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 --- core/src/overlay.rs | 2 +- core/src/widget.rs | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'core/src') diff --git a/core/src/overlay.rs b/core/src/overlay.rs index 16f867da..3b79970e 100644 --- a/core/src/overlay.rs +++ b/core/src/overlay.rs @@ -52,7 +52,7 @@ where /// * the computed [`Layout`] of the [`Overlay`] /// * the current cursor position /// * a mutable `Message` list, allowing the [`Overlay`] to produce - /// new messages based on user interaction. + /// new messages based on user interaction. /// * the `Renderer` /// * a [`Clipboard`], if available /// diff --git a/core/src/widget.rs b/core/src/widget.rs index b17215bb..08cfa55b 100644 --- a/core/src/widget.rs +++ b/core/src/widget.rs @@ -27,11 +27,11 @@ use crate::{Clipboard, Length, Rectangle, Shell, Size, Vector}; /// widget: /// /// - [`bezier_tool`], a Paint-like tool for drawing Bézier curves using -/// [`lyon`]. +/// [`lyon`]. /// - [`custom_widget`], a demonstration of how to build a custom widget that -/// draws a circle. +/// draws a circle. /// - [`geometry`], a custom widget showcasing how to draw geometry with the -/// `Mesh2D` primitive in [`iced_wgpu`]. +/// `Mesh2D` primitive in [`iced_wgpu`]. /// /// [examples]: https://github.com/iced-rs/iced/tree/0.12/examples /// [`bezier_tool`]: https://github.com/iced-rs/iced/tree/0.12/examples/bezier_tool -- cgit