summaryrefslogtreecommitdiffstats
path: root/graphics
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 /graphics
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 'graphics')
-rw-r--r--graphics/src/gradient.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/graphics/src/gradient.rs b/graphics/src/gradient.rs
index b274ec86..7460e12e 100644
--- a/graphics/src/gradient.rs
+++ b/graphics/src/gradient.rs
@@ -87,7 +87,7 @@ impl Linear {
mut self,
stops: impl IntoIterator<Item = ColorStop>,
) -> Self {
- for stop in stops.into_iter() {
+ for stop in stops {
self = self.add_stop(stop.offset, stop.color)
}