diff options
Diffstat (limited to 'docs/abi-spec.rst')
-rw-r--r-- | docs/abi-spec.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/abi-spec.rst b/docs/abi-spec.rst index 69bbe5c3..bf9b8fb7 100644 --- a/docs/abi-spec.rst +++ b/docs/abi-spec.rst @@ -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: |