From c48e7c38507f06224a78e9a2896d1f7943a2c4f6 Mon Sep 17 00:00:00 2001
From: John Mitchell <6656977+StarArawn@users.noreply.github.com>
Date: Tue, 2 May 2023 22:32:59 -0400
Subject: [PATCH] Fix clippy

---
 .github/workflows/rust.yml | 2 +-
 examples/svg.rs            | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml
index ce98dbd..7cc7c32 100644
--- a/.github/workflows/rust.yml
+++ b/.github/workflows/rust.yml
@@ -39,4 +39,4 @@ jobs:
     - name: Run fmt check
       run: cargo fmt --all -- --check
     - name: Run clippy
-      run: cargo clippy --workspace --all-targets --all-features --features "bevy/x11"
+      run: cargo clippy --workspace --all-targets --all-features --features "bevy/x11" -- --deny warnings
diff --git a/examples/svg.rs b/examples/svg.rs
index 480c558..e00666f 100644
--- a/examples/svg.rs
+++ b/examples/svg.rs
@@ -23,8 +23,8 @@ fn startup(
             <ElementBundle
                 styles={KStyle {
                     position_type: StyleProp::Value(KPositionType::SelfDirected),
-                    left: StyleProp::Value(Units::Pixels(-34.545261 * 7.6)),
-                    top: StyleProp::Value(Units::Pixels(10.0 - 95.557219 * 7.6)),
+                    left: StyleProp::Value(Units::Pixels(-34.545 * 7.6)),
+                    top: StyleProp::Value(Units::Pixels(10.0 - 95.557 * 7.6)),
                     ..Default::default()
                 }}
             >
-- 
GitLab