yoda: cargo fix --lib across all crates — drop ~115 trivial warnings

Auto-applied suggestions (unused imports, _-prefixed unused params,
redundant mutability) on iced_core, iced_widget, iced_runtime, iced_winit,
iced_wgpu, iced_graphics, iced_tiny_skia. From 170 warnings down to 55.

Leyoda 2026 – GPLv3
This commit is contained in:
Votre Nom 2026-05-05 16:45:37 +02:00 committed by Lionel DARNIS
parent 125e43a203
commit c6b0d3543b
45 changed files with 83 additions and 137 deletions

View file

@ -1,4 +1,4 @@
use crate::event::{self, Event};
use crate::event::Event;
use crate::id::Id;
use crate::layout;
use crate::mouse;

View file

@ -3,7 +3,7 @@ use crate::mouse;
use crate::overlay;
use crate::renderer;
use crate::widget;
use crate::{Clipboard, Event, Layout, Overlay, Point, Rectangle, Shell, Size};
use crate::{Clipboard, Event, Layout, Overlay, Shell, Size};
/// An [`Overlay`] container that displays multiple overlay [`overlay::Element`]
/// children.

View file

@ -4,7 +4,7 @@ use super::Operation;
use crate::{
Rectangle,
id::Id,
widget::operation::{Outcome, focusable::Count},
widget::operation::Outcome,
};
/// Produces an [`Operation`] that searches for the Id

View file

@ -25,13 +25,12 @@ use crate::layout;
use crate::mouse;
use crate::renderer;
use crate::text::paragraph::{self, Paragraph};
use crate::text::{self, Fragment};
use crate::text::{self};
use crate::widget::tree::{self, Tree};
use crate::{
Color, Element, Layout, Length, Pixels, Rectangle, Size, Theme, Widget,
};
use std::borrow::Cow;
pub use text::{Alignment, Ellipsize, LineHeight, Shaping, Wrapping};
/// A bunch of text.