Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions std/utf.d
Original file line number Diff line number Diff line change
Expand Up @@ -3004,7 +3004,7 @@ if (isInputRange!S && !isInfinite!S && isSomeChar!(ElementEncodingType!S))
* See_Also:
* For a lazy, non-allocating version of these functions, see $(LREF byUTF).
*/
dstring toUTF32(S)(S s)
dstring toUTF32(S)(scope S s)
if (isInputRange!S && !isInfinite!S && isSomeChar!(ElementEncodingType!S))
{
return toUTFImpl!dstring(s);
Expand All @@ -3023,7 +3023,7 @@ if (isInputRange!S && !isInfinite!S && isSomeChar!(ElementEncodingType!S))
assert("𐐷"w.toUTF32.equal([0x00010437]));
}

private T toUTFImpl(T, S)(S s)
private T toUTFImpl(T, S)(scope S s)
{
static if (is(S : T))
{
Expand Down