summaryrefslogtreecommitdiffstats
path: root/tiny_skia
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector@hecrj.dev>2023-09-20 04:51:08 +0200
committerLibravatar Héctor Ramón Jiménez <hector@hecrj.dev>2023-09-20 04:51:08 +0200
commit42ed90bc6f92b2085d193e7f143430b8d3847c21 (patch)
tree708166baa85036ab80ee96f7379a8767b7691da6 /tiny_skia
parent6c386e90a12fd26da12541da3f086dddb7211c0c (diff)
downloadiced-42ed90bc6f92b2085d193e7f143430b8d3847c21.tar.gz
iced-42ed90bc6f92b2085d193e7f143430b8d3847c21.tar.bz2
iced-42ed90bc6f92b2085d193e7f143430b8d3847c21.zip
Fix `clippy::default_trait_access`
Diffstat (limited to 'tiny_skia')
-rw-r--r--tiny_skia/src/geometry.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tiny_skia/src/geometry.rs b/tiny_skia/src/geometry.rs
index 1d573f6a..1d14aa03 100644
--- a/tiny_skia/src/geometry.rs
+++ b/tiny_skia/src/geometry.rs
@@ -180,7 +180,7 @@ fn convert_path(path: &Path) -> Option<tiny_skia::Path> {
use iced_graphics::geometry::path::lyon_path;
let mut builder = tiny_skia::PathBuilder::new();
- let mut last_point = Default::default();
+ let mut last_point = lyon_path::math::Point::default();
for event in path.raw() {
match event {