Skip to content
This repository was archived by the owner on Oct 12, 2022. It is now read-only.
/ druntime Public archive
Merged
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion src/core/internal/utf.d
Original file line number Diff line number Diff line change
Expand Up @@ -692,7 +692,7 @@ string toUTF8(const scope dchar[] s)
/* =================== Conversion to UTF16 ======================= */

@safe pure nothrow @nogc
wchar[] toUTF16(wchar[] buf, dchar c)
wchar[] toUTF16(return wchar[] buf, dchar c)
in
{
assert(isValidDchar(c));
Expand Down
2 changes: 1 addition & 1 deletion src/rt/aaA.d
Original file line number Diff line number Diff line change
Expand Up @@ -854,7 +854,7 @@ struct Range

extern (C) pure nothrow @nogc @safe
{
Range _aaRange(AA aa)
Range _aaRange(return AA aa)
{
if (!aa)
return Range();
Expand Down
2 changes: 1 addition & 1 deletion src/rt/monitor_.d
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ struct Monitor

private:

@property ref shared(Monitor*) monitor(Object h) pure nothrow @nogc
@property ref shared(Monitor*) monitor(return Object h) pure nothrow @nogc
{
return *cast(shared Monitor**)&h.__monitor;
}
Expand Down