Skip to content

Commit

Permalink
fixing style
Browse files Browse the repository at this point in the history
Signed-off-by: runiixx <[email protected]>
  • Loading branch information
runiixx committed Dec 7, 2024
1 parent a20e438 commit 7341230
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions std/math/traits.d
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand All @@ -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
Expand Down

0 comments on commit 7341230

Please sign in to comment.