Skip to content

Commit 8729740

Browse files
dkorpelthewilsonator
authored andcommitted
Mark endianToNativeImpl @trusted
1 parent d1cb5ca commit 8729740

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

std/bitmanip.d

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3274,7 +3274,7 @@ if (canSwapEndianness!T && n == T.sizeof)
32743274
assert(c == littleEndianToNative!dchar(swappedC));
32753275
}
32763276

3277-
private T endianToNativeImpl(bool swap, T, size_t n)(ubyte[n] val) @nogc nothrow pure @safe
3277+
private T endianToNativeImpl(bool swap, T, size_t n)(ubyte[n] val) @nogc nothrow pure @trusted
32783278
if (__traits(isIntegral, T) && n == T.sizeof)
32793279
{
32803280
if (!__ctfe)

0 commit comments

Comments
 (0)