aboutsummaryrefslogtreecommitdiffstats
path: root/docs/frequently-asked-questions.rst
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2017-09-25 18:01:09 +0800
committerGitHub <noreply@github.com>2017-09-25 18:01:09 +0800
commitd45629d909b8809273c5dcd09fb9ff81299d81d0 (patch)
tree175e270667a5e80dd522a435064717a27baef517 /docs/frequently-asked-questions.rst
parent5ffd119990b300fb4fa3c0cf693c07ed67bb0aa1 (diff)
downloaddexon-solidity-d45629d909b8809273c5dcd09fb9ff81299d81d0.tar.gz
dexon-solidity-d45629d909b8809273c5dcd09fb9ff81299d81d0.tar.zst
dexon-solidity-d45629d909b8809273c5dcd09fb9ff81299d81d0.zip
Update frequently-asked-questions.rst
Diffstat (limited to 'docs/frequently-asked-questions.rst')
-rw-r--r--docs/frequently-asked-questions.rst5
1 files changed, 3 insertions, 2 deletions
diff --git a/docs/frequently-asked-questions.rst b/docs/frequently-asked-questions.rst
index 387f16fe..93dcfbb8 100644
--- a/docs/frequently-asked-questions.rst
+++ b/docs/frequently-asked-questions.rst
@@ -304,8 +304,9 @@ There are defaults for the storage location depending on which type
of variable it concerns:
* state variables are always in storage
-* function arguments are always in memory
-* local variables are always in the stack but reference storage
+* function arguments are in memory by default
+* local variables of struct, array or mapping type reference storage by default
+* local variables of value type (i.e. neither array, nor struct nor mapping) are stored in the stack
Example::