summaryrefslogtreecommitdiffstats
path: root/tiny_skia
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón <hector@hecrj.dev>2023-09-19 13:30:51 +0200
committerLibravatar GitHub <noreply@github.com>2023-09-19 13:30:51 +0200
commite8b01eb5435500c4b4d3135dde3d9e5910aca89e (patch)
tree668ef32e3f12f7b08e0869330ee5dbf337a47589 /tiny_skia
parent2ee2c658944b20a045a4b81209664930623300c9 (diff)
parentefd0ff6ded4e647e5fad0964555dbed541a075d7 (diff)
downloadiced-e8b01eb5435500c4b4d3135dde3d9e5910aca89e.tar.gz
iced-e8b01eb5435500c4b4d3135dde3d9e5910aca89e.tar.bz2
iced-e8b01eb5435500c4b4d3135dde3d9e5910aca89e.zip
Merge pull request #2092 from nyurik/clippy
Chore: Apply some minor clippy fixes
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 047bc0ff..1d573f6a 100644
--- a/tiny_skia/src/geometry.rs
+++ b/tiny_skia/src/geometry.rs
@@ -182,7 +182,7 @@ fn convert_path(path: &Path) -> Option<tiny_skia::Path> {
let mut builder = tiny_skia::PathBuilder::new();
let mut last_point = Default::default();
- for event in path.raw().iter() {
+ for event in path.raw() {
match event {
lyon_path::Event::Begin { at } => {
builder.move_to(at.x, at.y);