diff options
| author | Laurenz <laurmaedje@gmail.com> | 2022-11-04 09:30:44 +0100 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2022-11-04 11:38:09 +0100 |
| commit | eb951c008beea502042db4a3a0e8d1f8b51f6f52 (patch) | |
| tree | 9856ee4ed0222222669de10e616a580b2a60135e /src/geom/rounded.rs | |
| parent | 33928a00dc58250e24da1dae4e5db17e7b598d70 (diff) | |
Style changes
Diffstat (limited to 'src/geom/rounded.rs')
| -rw-r--r-- | src/geom/rounded.rs | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/geom/rounded.rs b/src/geom/rounded.rs index 70d351ee..7a58dae2 100644 --- a/src/geom/rounded.rs +++ b/src/geom/rounded.rs @@ -21,11 +21,7 @@ pub fn rounded_rect( if !stroke.is_uniform() { for (path, stroke) in stroke_segments(size, radius, stroke) { if stroke.is_some() { - res.push(Shape { - geometry: Geometry::Path(path), - fill: None, - stroke, - }); + res.push(Shape { geometry: Geometry::Path(path), fill: None, stroke }); } } } |
