Merge pull request #2092 from nyurik/clippy
Chore: Apply some minor clippy fixes
This commit is contained in:
commit
e8b01eb543
7 changed files with 13 additions and 19 deletions
|
|
@ -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)
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue