aboutsummaryrefslogtreecommitdiffstats
path: root/docs/miscellaneous.rst
diff options
context:
space:
mode:
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 f2ad0f88..19fbe85c 100644
--- a/docs/miscellaneous.rst
+++ b/docs/miscellaneous.rst
@@ -51,9 +51,11 @@ There are some types in Solidity's type system that have no counterpart in the s
if (useB) f = b;
return f(x);
}
+
function a(uint x) returns (uint z) {
return x * x;
}
+
function b(uint x) returns (uint z) {
return 2 * x;
}