Reformat with the 2024 rustfmt style edition
This commit is contained in:
parent
debd3795e9
commit
dfc22b0008
19 changed files with 32 additions and 33 deletions
|
|
@ -2,7 +2,7 @@ use image::RgbaImage;
|
|||
use palette::Srgba;
|
||||
use taffy::{AvailableSpace, NodeId, Point, Size, TaffyResult, TaffyTree};
|
||||
|
||||
use crate::{color, BoxedWidget, Rect, Vec2, View};
|
||||
use crate::{BoxedWidget, Rect, Vec2, View, color};
|
||||
|
||||
fn point_to_vec2(point: Point<f32>) -> Vec2 {
|
||||
Vec2::new(point.x as i32, point.y as i32)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue