From 9ceb467e6e12129b42d67a4a1ff3cb21bc7daadd Mon Sep 17 00:00:00 2001 From: Héctor Ramón Jiménez Date: Fri, 21 Feb 2025 01:22:56 +0100 Subject: Run `cargo fmt` --- graphics/src/geometry/path/builder.rs | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'graphics/src/geometry') diff --git a/graphics/src/geometry/path/builder.rs b/graphics/src/geometry/path/builder.rs index 44410f6d..e814a3a7 100644 --- a/graphics/src/geometry/path/builder.rs +++ b/graphics/src/geometry/path/builder.rs @@ -1,4 +1,4 @@ -use crate::geometry::path::{arc, Arc, Path}; +use crate::geometry::path::{Arc, Path, arc}; use crate::core::border; use crate::core::{Point, Radians, Size}; @@ -171,8 +171,12 @@ impl Builder { radius: border::Radius, ) { let min_size = (size.height / 2.0).min(size.width / 2.0); - let [top_left_corner, top_right_corner, bottom_right_corner, bottom_left_corner] = - radius.into(); + let [ + top_left_corner, + top_right_corner, + bottom_right_corner, + bottom_left_corner, + ] = radius.into(); self.move_to(Point::new( top_left.x + min_size.min(top_left_corner), -- cgit