diff --git a/std/typecons.d b/std/typecons.d index bd462f53a5b..a841e4720b2 100644 --- a/std/typecons.d +++ b/std/typecons.d @@ -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; } }