diff options
| -rw-r--r-- | library/std/src/f32/tests.rs | 2 | ||||
| -rw-r--r-- | 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 |
