diff options
author | chriseth <chris@ethereum.org> | 2018-08-09 21:36:00 +0800 |
---|---|---|
committer | chriseth <chris@ethereum.org> | 2018-08-14 21:50:46 +0800 |
commit | 6cf299bec6b89b22d97e39d7db54f9dc4f652cfb (patch) | |
tree | c68420316cbbfb30522a13a5aeae7c716ea49d1a /docs/abi-spec.rst | |
parent | f873389c6227d41dbba9ba4c23ed055f286ecb71 (diff) | |
download | dexon-solidity-6cf299bec6b89b22d97e39d7db54f9dc4f652cfb.tar dexon-solidity-6cf299bec6b89b22d97e39d7db54f9dc4f652cfb.tar.gz dexon-solidity-6cf299bec6b89b22d97e39d7db54f9dc4f652cfb.tar.bz2 dexon-solidity-6cf299bec6b89b22d97e39d7db54f9dc4f652cfb.tar.lz dexon-solidity-6cf299bec6b89b22d97e39d7db54f9dc4f652cfb.tar.xz dexon-solidity-6cf299bec6b89b22d97e39d7db54f9dc4f652cfb.tar.zst dexon-solidity-6cf299bec6b89b22d97e39d7db54f9dc4f652cfb.zip |
Update documentation examples.
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: |