Skip to content

Commit c7e0f6c

Browse files
authored
Merge pull request #10790 from WalterBright/retscope3
more return ref fixes
2 parents c3fd92a + d68ec38 commit c7e0f6c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

std/algorithm/mutation.d

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3120,7 +3120,7 @@ if (isBlitAssignable!T && !is(typeof(lhs.proxySwap(rhs))))
31203120
static struct A
31213121
{
31223122
int x;
3123-
this(scope ref return const A other)
3123+
this(scope return ref const A other)
31243124
{
31253125
import std.stdio;
31263126
x = other.x;

0 commit comments

Comments
 (0)