Update documentation examples.

This commit is contained in:
chriseth
2018-08-14 15:50:46 +02:00
parent f873389c62
commit 6cf299bec6
10 changed files with 99 additions and 86 deletions
+2 -2
View File
@@ -494,8 +494,8 @@ As an example, the code
contract Test {
struct S { uint a; uint[] b; T[] c; }
struct T { uint x; uint y; }
function f(S memory s, T memory t, uint a) public { }
function g() public returns (S memory s, T memory t, uint a) {}
function f(S memory s, T memory t, uint a) public;
function g() public returns (S memory s, T memory t, uint a);
}
would result in the JSON: