about summary refs log tree commit diff
diff options
context:
space:
mode:
authorDario Heinisch <dario.heinisch@gmail.com>2025-07-01 10:51:18 +0200
committerDario Heinisch <dario.heinisch@gmail.com>2025-07-01 10:51:18 +0200
commite7fa5364c67dbd45a92432678878d406ad715630 (patch)
treec8ea086208130a0be034e0920fad0c593727ce7d
parent708ea873b11b7a099cbdd59c1d45f3743362554e (diff)
downloadrust-e7fa5364c67dbd45a92432678878d406ad715630.tar.gz
rust-e7fa5364c67dbd45a92432678878d406ad715630.zip
fix tests (run cargo uibless after fmt)
-rw-r--r--tests/ui/neg_multiply.fixed6
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);