diff options
author | 2023-09-20 04:11:52 +0200 | |
---|---|---|
committer | 2023-09-20 04:11:52 +0200 | |
commit | 34f07b60273d6cfe13834af54cd0e24d34569387 (patch) | |
tree | 8d53809866fd0f8a6ca754dd26fb890c6249b788 /core/src/gradient.rs | |
parent | 9991052ce5617abf0f270bc9a74627ab6d45b35d (diff) | |
download | iced-34f07b60273d6cfe13834af54cd0e24d34569387.tar.gz iced-34f07b60273d6cfe13834af54cd0e24d34569387.tar.bz2 iced-34f07b60273d6cfe13834af54cd0e24d34569387.zip |
Fix `clippy::semicolon_if_nothing_returned`
Diffstat (limited to 'core/src/gradient.rs')
-rw-r--r-- | core/src/gradient.rs | 2 |
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 |