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,3 @@
use crate::core::Radians;
use crate::core::{
self, Background, Color, Point, Rectangle, Svg, Transformation, renderer,
};

View file

@ -64,8 +64,8 @@ pub use geometry::Geometry;
use crate::core::renderer;
use crate::core::{
Background, Color, Font, Pixels, Point, Radians, Rectangle, Size,
Transformation, Vector, image::FilterMethod,
Background, Color, Font, Pixels, Point, Rectangle, Size,
Transformation, Vector,
};
use crate::graphics::mesh;
use crate::graphics::text::{Editor, Paragraph};

View file

@ -18,7 +18,6 @@ use crate::{Engine, Renderer};
use super::wayland::get_wayland_device_ids;
#[cfg(all(unix, feature = "x11", not(target_os = "macos"), not(target_os = "redox")))]
use super::x11::get_x11_device_ids;
use std::future::Future;
/// A window graphics backend for iced powered by `wgpu`.
pub struct Compositor {