Fixed lint issues & cleaned up some documentation.

This commit is contained in:
shan 2022-10-06 07:28:05 -07:00
parent 1eb8d972ba
commit cb7c467654
24 changed files with 33 additions and 40 deletions

View file

@ -1,13 +1,12 @@
use rand::{Rng, thread_rng};
use crate::canvas::{Cursor, Geometry};
use iced::widget::canvas::{Cache, Fill, Frame, Gradient};
use iced::widget::canvas::{Cache, Fill, Frame, Gradient, fill};
use iced::widget::{canvas, Canvas};
use iced::Settings;
use iced::{
executor, Application, Color, Command, Element, Length, Point, Rectangle,
Renderer, Size, Theme,
};
use iced_graphics::widget::canvas::fill;
fn main() -> iced::Result {
ModernArt::run(Settings {
@ -139,4 +138,4 @@ fn generate_box(frame: &mut Frame, bounds: Size) -> bool {
};
solid
}
}