summaryrefslogtreecommitdiffstats
path: root/examples/geometry/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'examples/geometry/src/main.rs')
-rw-r--r--examples/geometry/src/main.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/geometry/src/main.rs b/examples/geometry/src/main.rs
index 44214c63..0255cdfb 100644
--- a/examples/geometry/src/main.rs
+++ b/examples/geometry/src/main.rs
@@ -47,10 +47,10 @@ mod rainbow {
cursor: mouse::Cursor,
_viewport: &Rectangle,
) {
+ use iced::advanced::Renderer as _;
use iced::advanced::graphics::mesh::{
self, Mesh, Renderer as _, SolidVertex2D,
};
- use iced::advanced::Renderer as _;
let bounds = layout.bounds();
@@ -152,8 +152,8 @@ mod rainbow {
}
}
-use iced::widget::{center_x, center_y, column, scrollable};
use iced::Element;
+use iced::widget::{center_x, center_y, column, scrollable};
use rainbow::rainbow;
pub fn main() -> iced::Result {