From 7341230808d71ad6cd7af4b52ab4a10fc10f2a72 Mon Sep 17 00:00:00 2001 From: runiixx Date: Sat, 7 Dec 2024 11:49:33 +0200 Subject: [PATCH] fixing style Signed-off-by: runiixx --- std/math/traits.d | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/std/math/traits.d b/std/math/traits.d index 53f15674fc4..8aba6a6b1c6 100644 --- a/std/math/traits.d +++ b/std/math/traits.d @@ -514,7 +514,6 @@ bool isIdentical(real x, real y) @trusted pure nothrow @nogc /// @safe @nogc pure nothrow unittest { - // We're forcing the CTFE to run by assigning the result of the function to an enum enum test1 = isIdentical(1.0,1.0); enum test2 = isIdentical(real.nan,real.nan); @@ -534,7 +533,7 @@ bool isIdentical(real x, real y) @trusted pure nothrow @nogc assert(test6); assert(test7); - assert(test8); + assert(test8); } @safe @nogc pure nothrow unittest