summaryrefslogtreecommitdiffstats
path: root/wgpu/src/renderer.rs
diff options
context:
space:
mode:
authorLibravatar Malte Veerman <malte.veerman@gmail.com>2019-12-11 22:13:29 +0100
committerLibravatar Malte Veerman <malte.veerman@gmail.com>2019-12-11 22:13:29 +0100
commit5696afcadd5b3b89a532f4205efac30d8a24d558 (patch)
treeafa024ad6f2f4d7009c3bdcde0e88e209f679567 /wgpu/src/renderer.rs
parenta88aae5e04e0a92457e5dd617a86af823e90af6c (diff)
downloadiced-5696afcadd5b3b89a532f4205efac30d8a24d558.tar.gz
iced-5696afcadd5b3b89a532f4205efac30d8a24d558.tar.bz2
iced-5696afcadd5b3b89a532f4205efac30d8a24d558.zip
Ran cargo_fmt over changed files.
Diffstat (limited to 'wgpu/src/renderer.rs')
-rw-r--r--wgpu/src/renderer.rs12
1 files changed, 5 insertions, 7 deletions
diff --git a/wgpu/src/renderer.rs b/wgpu/src/renderer.rs
index 9895e1c4..92e24933 100644
--- a/wgpu/src/renderer.rs
+++ b/wgpu/src/renderer.rs
@@ -243,13 +243,11 @@ impl Renderer {
scale: [bounds.width, bounds.height],
});
}
- Primitive::Svg { handle, bounds } => {
- layer.svgs.push(Svg {
- handle: handle.clone(),
- position: [bounds.x, bounds.y],
- scale: [bounds.width, bounds.height],
- })
- },
+ Primitive::Svg { handle, bounds } => layer.svgs.push(Svg {
+ handle: handle.clone(),
+ position: [bounds.x, bounds.y],
+ scale: [bounds.width, bounds.height],
+ }),
Primitive::Clip {
bounds,
offset,