diff options
author | Alex Beregszaszi <alex@rtfs.hu> | 2017-07-11 05:58:23 +0800 |
---|---|---|
committer | Alex Beregszaszi <alex@rtfs.hu> | 2017-07-13 23:10:37 +0800 |
commit | b2fcd59ee6941de4a392b89295c734385d6019e3 (patch) | |
tree | 7f40372a2d95ec35ed707bdd63958bb9e68b97ee /docs/miscellaneous.rst | |
parent | 9a5aac599e0003009fd0ba1794c6a02d97b3d026 (diff) | |
download | dexon-solidity-b2fcd59ee6941de4a392b89295c734385d6019e3.tar dexon-solidity-b2fcd59ee6941de4a392b89295c734385d6019e3.tar.gz dexon-solidity-b2fcd59ee6941de4a392b89295c734385d6019e3.tar.bz2 dexon-solidity-b2fcd59ee6941de4a392b89295c734385d6019e3.tar.lz dexon-solidity-b2fcd59ee6941de4a392b89295c734385d6019e3.tar.xz dexon-solidity-b2fcd59ee6941de4a392b89295c734385d6019e3.tar.zst dexon-solidity-b2fcd59ee6941de4a392b89295c734385d6019e3.zip |
Add version pragma to docs examples
Diffstat (limited to 'docs/miscellaneous.rst')
-rw-r--r-- | docs/miscellaneous.rst | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/miscellaneous.rst b/docs/miscellaneous.rst index 182de33a..1fcdb2fc 100644 --- a/docs/miscellaneous.rst +++ b/docs/miscellaneous.rst @@ -48,6 +48,8 @@ non-elementary type, the positions are found by adding an offset of ``keccak256( So for the following contract snippet:: + pragma solidity ^0.4.0; + contract C { struct s { uint a; uint b; } uint x; |