Merge pull request #2092 from nyurik/clippy

Chore: Apply some minor clippy fixes
This commit is contained in:
Héctor Ramón 2023-09-19 13:30:51 +02:00 committed by GitHub
commit e8b01eb543
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 13 additions and 19 deletions

View file

@ -94,7 +94,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)
}

View file

@ -220,9 +220,9 @@ where
size,
line_height,
font,
shaping,
horizontal_alignment,
vertical_alignment,
shaping,
},
);