Update all examples to Rust 2024
This commit is contained in:
parent
9ceb467e6e
commit
91af1c5ed6
82 changed files with 96 additions and 95 deletions
|
|
@ -2,7 +2,7 @@
|
|||
name = "arc"
|
||||
version = "0.1.0"
|
||||
authors = ["ThatsNoMoon <git@thatsnomoon.dev>"]
|
||||
edition = "2021"
|
||||
edition = "2024"
|
||||
publish = false
|
||||
|
||||
[dependencies]
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@ use std::{f32::consts::PI, time::Instant};
|
|||
|
||||
use iced::mouse;
|
||||
use iced::widget::canvas::{
|
||||
self, stroke, Cache, Canvas, Geometry, Path, Stroke,
|
||||
self, Cache, Canvas, Geometry, Path, Stroke, stroke,
|
||||
};
|
||||
use iced::window;
|
||||
use iced::{Element, Fill, Point, Rectangle, Renderer, Subscription, Theme};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue