Skip to content

Commit 4b2ea30

Browse files
0-v-0thewilsonator
authored andcommitted
Remove std.conv import from createStorageAndFields
1 parent e669d3e commit 4b2ea30

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

std/bitmanip.d

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -164,8 +164,7 @@ private template createStorageAndFields(Ts...)
164164
alias StoreType = ulong;
165165
else
166166
{
167-
import std.conv : to;
168-
static assert(false, "Field widths must sum to 8, 16, 32, or 64, not " ~ to!string(Size));
167+
static assert(false, "Field widths must sum to 8, 16, 32, or 64, not " ~ Size.stringof);
169168
alias StoreType = ulong; // just to avoid another error msg
170169
}
171170

0 commit comments

Comments
 (0)