about summary refs log tree commit diff
diff options
context:
space:
mode:
authorOrson Peters <orsonpeters@gmail.com>2022-02-19 19:05:55 +0100
committerUrgau <urgau@numericable.fr>2022-08-15 12:33:00 +0200
commita1e251024de877f1746e02f856ccb2f666800f5e (patch)
treea0eab56ecfb61ad7f7ec959a9e703b8096e6dcc3
parent85d5171dea32465a3b62acbe7e09fac026a1b20e (diff)
downloadrust-a1e251024de877f1746e02f856ccb2f666800f5e.tar.gz
rust-a1e251024de877f1746e02f856ccb2f666800f5e.zip
Semicolon after macro_rules definition.
-rw-r--r--library/std/src/f32/tests.rs2
-rw-r--r--library/std/src/f64/tests.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/library/std/src/f32/tests.rs b/library/std/src/f32/tests.rs
index e1f9b3fe19d..4ec16c84aa9 100644
--- a/library/std/src/f32/tests.rs
+++ b/library/std/src/f32/tests.rs
@@ -307,7 +307,7 @@ macro_rules! assert_f32_biteq {
         let lb = l.to_bits();
         let rb = r.to_bits();
         assert_eq!(lb, rb, "float {} ({:#x}) is not equal to {} ({:#x})", *l, lb, *r, rb);
-    }
+    };
 }
 
 // Ignore test on x87 floating point, these platforms do not guarantee NaN
diff --git a/library/std/src/f64/tests.rs b/library/std/src/f64/tests.rs
index 1619288bedb..12baa68f49b 100644
--- a/library/std/src/f64/tests.rs
+++ b/library/std/src/f64/tests.rs
@@ -297,7 +297,7 @@ macro_rules! assert_f64_biteq {
         let lb = l.to_bits();
         let rb = r.to_bits();
         assert_eq!(lb, rb, "float {} ({:#x}) is not equal to {} ({:#x})", *l, lb, *r, rb);
-    }
+    };
 }
 
 // Ignore test on x87 floating point, these platforms do not guarantee NaN