diff options
| author | Dario Heinisch <dario.heinisch@gmail.com> | 2025-07-01 10:51:18 +0200 |
|---|---|---|
| committer | Dario Heinisch <dario.heinisch@gmail.com> | 2025-07-01 10:51:18 +0200 |
| commit | e7fa5364c67dbd45a92432678878d406ad715630 (patch) | |
| tree | c8ea086208130a0be034e0920fad0c593727ce7d | |
| parent | 708ea873b11b7a099cbdd59c1d45f3743362554e (diff) | |
| download | rust-e7fa5364c67dbd45a92432678878d406ad715630.tar.gz rust-e7fa5364c67dbd45a92432678878d406ad715630.zip | |
fix tests (run cargo uibless after fmt)
| -rw-r--r-- | tests/ui/neg_multiply.fixed | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/ui/neg_multiply.fixed b/tests/ui/neg_multiply.fixed index 93d314fea5f..32d466e88fc 100644 --- a/tests/ui/neg_multiply.fixed +++ b/tests/ui/neg_multiply.fixed @@ -84,12 +84,12 @@ fn float() { } struct Y { - delta: f64 + delta: f64, } fn nested() { - let a = Y {delta: 1.0}; - let b = Y {delta: 1.0}; + let a = Y { delta: 1.0 }; + let b = Y { delta: 1.0 }; let _ = (-(a.delta - 0.5).abs()).total_cmp(&1.0); //~^ neg_multiply let _ = (-(a.delta - 0.5).abs()).total_cmp(&1.0); |
