summaryrefslogtreecommitdiffstats
path: root/wgpu/src/image
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector@hecrj.dev>2023-09-20 04:11:52 +0200
committerLibravatar Héctor Ramón Jiménez <hector@hecrj.dev>2023-09-20 04:11:52 +0200
commit34f07b60273d6cfe13834af54cd0e24d34569387 (patch)
tree8d53809866fd0f8a6ca754dd26fb890c6249b788 /wgpu/src/image
parent9991052ce5617abf0f270bc9a74627ab6d45b35d (diff)
downloadiced-34f07b60273d6cfe13834af54cd0e24d34569387.tar.gz
iced-34f07b60273d6cfe13834af54cd0e24d34569387.tar.bz2
iced-34f07b60273d6cfe13834af54cd0e24d34569387.zip
Fix `clippy::semicolon_if_nothing_returned`
Diffstat (limited to 'wgpu/src/image')
-rw-r--r--wgpu/src/image/atlas.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/wgpu/src/image/atlas.rs b/wgpu/src/image/atlas.rs
index 1253496b..e8ca4bd3 100644
--- a/wgpu/src/image/atlas.rs
+++ b/wgpu/src/image/atlas.rs
@@ -104,7 +104,7 @@ impl Atlas {
padded_data[offset..offset + 4 * width as usize].copy_from_slice(
&data[row * 4 * width as usize..(row + 1) * 4 * width as usize],
- )
+ );
}
match &entry {