Skip to content

Commit 6e36f67

Browse files
committed
Temporarily go back to the previous code to see about the autotester
1 parent 15965d6 commit 6e36f67

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

std/typecons.d

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -535,10 +535,9 @@ if (distinctFieldNames!(Specs))
535535
string injectNamedFields()
536536
{
537537
string decl = "";
538-
import std.conv : to;
539538
static foreach (i, val; fieldSpecs)
540539
{{
541-
auto si = to!string(i);
540+
immutable si = i.stringof;
542541
decl ~= "alias _" ~ si ~ " = Identity!(field[" ~ si ~ "]);";
543542
if (val.name.length != 0)
544543
{

0 commit comments

Comments
 (0)