documentation: adjustments to not use the "var" keyword

This commit is contained in:
Christian Parpart
2018-07-03 10:53:09 +02:00
parent 1486d215b9
commit 133fbdbf18
5 changed files with 10 additions and 41 deletions
+3 -3
View File
@@ -1328,9 +1328,9 @@ custom types without the overhead of external function calls:
using BigInt for BigInt.bigint;
function f() public pure {
var x = BigInt.fromUint(7);
var y = BigInt.fromUint(uint(-1));
var z = x.add(y);
BigInt.bigint memory x = BigInt.fromUint(7);
BigInt.bigint memory y = BigInt.fromUint(uint(-1));
BigInt.bigint memory z = x.add(y);
}
}