diff options
Diffstat (limited to 'core')
| -rw-r--r-- | core/src/gradient.rs | 2 | ||||
| -rw-r--r-- | core/src/widget/text.rs | 2 | 
2 files changed, 2 insertions, 2 deletions
| diff --git a/core/src/gradient.rs b/core/src/gradient.rs index 4a0d5ea0..6a5533f8 100644 --- a/core/src/gradient.rs +++ b/core/src/gradient.rs @@ -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)          } diff --git a/core/src/widget/text.rs b/core/src/widget/text.rs index 53ed463e..ba98f2d8 100644 --- a/core/src/widget/text.rs +++ b/core/src/widget/text.rs @@ -220,9 +220,9 @@ where              size,              line_height,              font, -            shaping,              horizontal_alignment,              vertical_alignment, +            shaping,          },      ); | 
