We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6980964 commit 9015a57Copy full SHA for 9015a57
1 file changed
std/internal/math/biguintcore.d
@@ -710,7 +710,7 @@ public:
710
// All of these member functions create a new BigUint.
711
712
// return x >> y
713
- BigUint opBinary(string op, Tulong)(Tulong y) pure nothrow @safe const scope
+ BigUint opBinary(string op, Tulong)(Tulong y) pure nothrow @safe const
714
if (op == ">>" && is (Tulong == ulong))
715
{
716
assert(y > 0, "Can not right shift BigUint by 0");
@@ -719,7 +719,7 @@ public:
719
uint words = cast(uint)(y >> LG2BIGDIGITBITS);
720
if (bits == 0)
721
722
- return BigUint(data[words..$].idup); // TODO can .idup be avoided?
+ return BigUint(data[words..$]);
723
}
724
else
725
0 commit comments