diff options
author | 2025-02-21 01:29:52 +0100 | |
---|---|---|
committer | 2025-02-21 01:37:14 +0100 | |
commit | 7ca4e7c5ba7957504b7a7b35d4cd4f9124d6ae75 (patch) | |
tree | 1f408edfd75b933e92b76e2510910c6b5cd0d2a1 | |
parent | 91af1c5ed65d75d9da62d29254460b5ed79f96eb (diff) | |
download | iced-7ca4e7c5ba7957504b7a7b35d4cd4f9124d6ae75.tar.gz iced-7ca4e7c5ba7957504b7a7b35d4cd4f9124d6ae75.tar.bz2 iced-7ca4e7c5ba7957504b7a7b35d4cd4f9124d6ae75.zip |
Simplify imports of `clock` example
-rw-r--r-- | examples/clock/src/main.rs | 4 |
1 files 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(); |