diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index ce98dbd7795cb189b757d4db8ceb5c7e096682ed..7cc7c32af2e2da232b02b1444bceab1f636b662b 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 480c558b8dd5d90557b21896cd8aa5c8695e670c..e00666f8a39b4411f1efe0240d81600e8730151a 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() }} >