diff options
author | 2022-10-06 19:13:40 -0700 | |
---|---|---|
committer | 2022-10-06 19:13:40 -0700 | |
commit | 72feba51bed41db0bc04b43167d5d3b43007fd44 (patch) | |
tree | 36fc28580f594656b4bd214df85145b8689d4660 /examples | |
parent | 9c7bf417ac9c1ac72bcc55aa3cd5e8eb962243a2 (diff) | |
download | iced-72feba51bed41db0bc04b43167d5d3b43007fd44.tar.gz iced-72feba51bed41db0bc04b43167d5d3b43007fd44.tar.bz2 iced-72feba51bed41db0bc04b43167d5d3b43007fd44.zip |
Fixed some imports/documentation.
Diffstat (limited to 'examples')
-rw-r--r-- | examples/solar_system/src/main.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/solar_system/src/main.rs b/examples/solar_system/src/main.rs index 73ddb01e..6f38f480 100644 --- a/examples/solar_system/src/main.rs +++ b/examples/solar_system/src/main.rs @@ -10,14 +10,14 @@ use iced::application; use iced::executor; use iced::theme::{self, Theme}; use iced::time; -use iced::widget::canvas::{self, stroke, Cursor, Path, Stroke}; +use iced::widget::canvas; +use iced::widget::canvas::{Cursor, Path, Stroke, Fill, fill, Gradient, stroke}; use iced::window; use iced::{ Application, Color, Command, Element, Length, Point, Rectangle, Settings, Size, Subscription, Vector, }; -use crate::canvas::{fill, Fill, Gradient}; use std::time::Instant; pub fn main() -> iced::Result { |