aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorFabio Berger <fabioberger1991@gmail.com>2016-06-20 08:41:46 +0800
committerFabio Berger <fabioberger1991@gmail.com>2016-06-20 08:41:46 +0800
commit9272c8ab3264bcf938cb87576ed522c51f12d4d8 (patch)
tree69f322d10bc77bd577122cd784155544585dac04 /docs
parent4139eddb1de9616b025ff5f2f5745205897e5697 (diff)
downloaddexon-solidity-9272c8ab3264bcf938cb87576ed522c51f12d4d8.tar
dexon-solidity-9272c8ab3264bcf938cb87576ed522c51f12d4d8.tar.gz
dexon-solidity-9272c8ab3264bcf938cb87576ed522c51f12d4d8.tar.bz2
dexon-solidity-9272c8ab3264bcf938cb87576ed522c51f12d4d8.tar.lz
dexon-solidity-9272c8ab3264bcf938cb87576ed522c51f12d4d8.tar.xz
dexon-solidity-9272c8ab3264bcf938cb87576ed522c51f12d4d8.tar.zst
dexon-solidity-9272c8ab3264bcf938cb87576ed522c51f12d4d8.zip
Fix two documentation typos
Diffstat (limited to 'docs')
-rw-r--r--docs/contracts.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/contracts.rst b/docs/contracts.rst
index c94f8d99..fbcc858d 100644
--- a/docs/contracts.rst
+++ b/docs/contracts.rst
@@ -355,7 +355,7 @@ functions matches the given function identifier (or if no data was supplied at
all).
Furthermore, this function is executed whenever the contract receives plain
-Ether (witout data). In such a context, there is very little gas available to
+Ether (without data). In such a context, there is very little gas available to
the function call, so it is important to make fallback functions as cheap as
possible.
@@ -745,7 +745,7 @@ is executed in the context of the calling contract, i.e. ``this`` points to the
calling contract and especially the storage from the calling contract can be
accessed. As a library is an isolated piece of source code, it can only access
state variables of the calling contract if they are explicitly supplied (it
-would have to way to name them, otherwise).
+would have no way to name them, otherwise).
Libraries can be seen as implicit base contracts of the contracts that use them.
They will not be explicitly visible in the inheritance hierarchy, but calls