aboutsummaryrefslogtreecommitdiffstats
path: root/docs/miscellaneous.rst
diff options
context:
space:
mode:
authorAlex Beregszaszi <alex@rtfs.hu>2017-07-11 05:58:23 +0800
committerAlex Beregszaszi <alex@rtfs.hu>2017-07-13 23:10:37 +0800
commitb2fcd59ee6941de4a392b89295c734385d6019e3 (patch)
tree7f40372a2d95ec35ed707bdd63958bb9e68b97ee /docs/miscellaneous.rst
parent9a5aac599e0003009fd0ba1794c6a02d97b3d026 (diff)
downloaddexon-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.rst2
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;