Skip to content

Commit

Permalink
Merge pull request #10621 from 0xEAB/thewilsonator-patch-1
Browse files Browse the repository at this point in the history
Fix self assignment for dlang/dmd#20696
  • Loading branch information
dkorpel authored Jan 14, 2025
2 parents 7433715 + 475e5c6 commit 336bed6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion std/typecons.d
Original file line number Diff line number Diff line change
Expand Up @@ -3348,7 +3348,7 @@ package(std) Rebindable2!T rebindable2(T)(T value)

this(ref inout S rhs) @safe inout
{
this.i = i;
this.i = rhs.i;
copied = true;
}
}
Expand Down

0 comments on commit 336bed6

Please sign in to comment.