summaryrefslogtreecommitdiffstats
path: root/core/src/gradient.rs
diff options
context:
space:
mode:
Diffstat (limited to 'core/src/gradient.rs')
-rw-r--r--core/src/gradient.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/gradient.rs b/core/src/gradient.rs
index 6a5533f8..4711b044 100644
--- a/core/src/gradient.rs
+++ b/core/src/gradient.rs
@@ -95,7 +95,7 @@ impl Linear {
stops: impl IntoIterator<Item = ColorStop>,
) -> Self {
for stop in stops {
- self = self.add_stop(stop.offset, stop.color)
+ self = self.add_stop(stop.offset, stop.color);
}
self