From 7ca4e7c5ba7957504b7a7b35d4cd4f9124d6ae75 Mon Sep 17 00:00:00 2001 From: Héctor Ramón Jiménez Date: Fri, 21 Feb 2025 01:29:52 +0100 Subject: Simplify imports of `clock` example --- examples/clock/src/main.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/clock/src/main.rs b/examples/clock/src/main.rs index 01f1402d..fde0c188 100644 --- a/examples/clock/src/main.rs +++ b/examples/clock/src/main.rs @@ -1,12 +1,12 @@ +use iced::alignment; use iced::mouse; use iced::time::{self, milliseconds}; use iced::widget::canvas::{Cache, Geometry, LineCap, Path, Stroke, stroke}; use iced::widget::{canvas, container}; use iced::{ - Degrees, Element, Fill, Font, Point, Rectangle, Renderer, Size, + Degrees, Element, Fill, Font, Point, Radians, Rectangle, Renderer, Size, Subscription, Theme, Vector, }; -use iced::{Radians, alignment}; pub fn main() -> iced::Result { tracing_subscriber::fmt::init(); -- cgit