From 8f84dbeef94f736932684c3593a3ec0c152d6757 Mon Sep 17 00:00:00 2001 From: jurijbajzelj Date: Thu, 8 Feb 2018 22:12:58 +0100 Subject: [PATCH] Update gotchas.rst --- docs/gotchas.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/gotchas.rst b/docs/gotchas.rst index dba4d9bc..380af6d8 100644 --- a/docs/gotchas.rst +++ b/docs/gotchas.rst @@ -205,7 +205,7 @@ don't need ``this`` (*this* is kinda bonus, no?) the compiler does not copy to the derived contracts. Otherwise, from within a contract, ``private`` is the same as ``internal``. [56] ``external`` is available only for functions. ``public``, ``internal`` and ``private`` are available for both functions -and state variables. The **contract's interface** is built from it's ``external`` and ``public`` memebers. +and state variables. The **contract's interface** is built from it's ``external`` and ``public`` members. [57] The compiler will **automatically** generate an accessor ("get" function) for the ``public`` state variables.