From a1e251024de877f1746e02f856ccb2f666800f5e Mon Sep 17 00:00:00 2001 From: Orson Peters Date: Sat, 19 Feb 2022 19:05:55 +0100 Subject: [PATCH] Semicolon after macro_rules definition. --- library/std/src/f32/tests.rs | 2 +- library/std/src/f64/tests.rs | 2 +- 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