Skip to content

Commit

Permalink
Remove std.conv import from createStorageAndFields
Browse files Browse the repository at this point in the history
  • Loading branch information
0-v-0 authored and thewilsonator committed Apr 22, 2024
1 parent e669d3e commit 4b2ea30
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions std/bitmanip.d
Original file line number Diff line number Diff line change
Expand Up @@ -164,8 +164,7 @@ private template createStorageAndFields(Ts...)
alias StoreType = ulong;
else
{
import std.conv : to;
static assert(false, "Field widths must sum to 8, 16, 32, or 64, not " ~ to!string(Size));
static assert(false, "Field widths must sum to 8, 16, 32, or 64, not " ~ Size.stringof);
alias StoreType = ulong; // just to avoid another error msg
}

Expand Down

0 comments on commit 4b2ea30

Please sign in to comment.