Skip to content
This repository was archived by the owner on Oct 12, 2022. It is now read-only.

Commit af747fe

Browse files
committed
-betterC: Add support for types when comparing arrays
1 parent cb5efa9 commit af747fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/internal/string.d

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ unittest
212212
static assert(!__traits(compiles, 100.numDigits!37()));
213213
}
214214

215-
int dstrcmp( scope const char[] s1, scope const char[] s2 ) @trusted
215+
int dstrcmp()( scope const char[] s1, scope const char[] s2 ) @trusted
216216
{
217217
immutable len = s1.length <= s2.length ? s1.length : s2.length;
218218
if (__ctfe)

0 commit comments

Comments
 (0)