aboutsummaryrefslogtreecommitdiffstats
path: root/docs/layout-of-source-files.rst
diff options
context:
space:
mode:
authorDimitry <winsvega@mail.ru>2016-09-05 19:54:54 +0800
committerDimitry <winsvega@mail.ru>2016-09-05 19:54:54 +0800
commit183cd70c47e27f2cec34512757860193104f674b (patch)
tree403ba1d0099bce0377c11d334156bc670a047d40 /docs/layout-of-source-files.rst
parent341c9436a8b6f5ae49265a482519e165a7f40395 (diff)
downloaddexon-solidity-183cd70c47e27f2cec34512757860193104f674b.tar.gz
dexon-solidity-183cd70c47e27f2cec34512757860193104f674b.tar.zst
dexon-solidity-183cd70c47e27f2cec34512757860193104f674b.zip
add "pragma solidity ^0.4.0;" to code examples
Diffstat (limited to 'docs/layout-of-source-files.rst')
-rw-r--r--docs/layout-of-source-files.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/layout-of-source-files.rst b/docs/layout-of-source-files.rst
index fdb7b5e8..17ac8c6f 100644
--- a/docs/layout-of-source-files.rst
+++ b/docs/layout-of-source-files.rst
@@ -192,6 +192,8 @@ for the two input parameters and two returned values.
::
+ pragma solidity ^0.4.0;
+
/** @title Shape calculator.*/
contract shapeCalculator{
/**@dev Calculates a rectangle's surface and perimeter.