diff options
author | 2023-09-20 04:11:52 +0200 | |
---|---|---|
committer | 2023-09-20 04:11:52 +0200 | |
commit | 34f07b60273d6cfe13834af54cd0e24d34569387 (patch) | |
tree | 8d53809866fd0f8a6ca754dd26fb890c6249b788 /graphics/src/renderer.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 'graphics/src/renderer.rs')
-rw-r--r-- | graphics/src/renderer.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/graphics/src/renderer.rs b/graphics/src/renderer.rs index d4df29a5..a9d7895e 100644 --- a/graphics/src/renderer.rs +++ b/graphics/src/renderer.rs @@ -237,7 +237,7 @@ where } fn draw(&mut self, handle: image::Handle, bounds: Rectangle) { - self.primitives.push(Primitive::Image { handle, bounds }) + self.primitives.push(Primitive::Image { handle, bounds }); } } @@ -259,6 +259,6 @@ where handle, color, bounds, - }) + }); } } |