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

Commit c1fa153

Browse files
committed
fix Issue 20088 - Make TempStringNoAlloc.get a template
1 parent 68a3138 commit c1fa153

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/core/internal/string.d

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ private struct TempStringNoAlloc
5858
// need to handle 65 bytes for radix of 2 with negative sign.
5959
private char[65] _buf = void;
6060
private ubyte _len;
61-
auto get() return
61+
auto get()() return
6262
{
6363
return _buf[$-_len..$];
6464
}

0 commit comments

Comments
 (0)