Skip to content

Commit f7c56dc

Browse files
committed
Use inout in mir.format.printStaticString to reduce template bloat
1 parent 0d0c265 commit f7c56dc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/mir/format.d

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -959,7 +959,7 @@ version (mir_test) unittest
959959
}
960960

961961
///
962-
ref W printStaticString(C, size_t N, W)(scope return ref W w, ref scope const C[N] c)
962+
ref W printStaticString(C, size_t N, W)(scope return ref W w, ref scope const inout(C)[N] c)
963963
if (is(C == char) || is(C == wchar) || is(C == dchar))
964964
{
965965
static if (isFastBuffer!W)

0 commit comments

Comments
 (0)