aboutsummaryrefslogtreecommitdiffstats
path: root/docs/style-guide.rst
diff options
context:
space:
mode:
Diffstat (limited to 'docs/style-guide.rst')
-rw-r--r--docs/style-guide.rst14
1 files changed, 7 insertions, 7 deletions
diff --git a/docs/style-guide.rst b/docs/style-guide.rst
index 6b28f2ab..792110e1 100644
--- a/docs/style-guide.rst
+++ b/docs/style-guide.rst
@@ -278,7 +278,7 @@ Yes::
...
}
- function() public {
+ function() external {
...
}
@@ -308,6 +308,10 @@ No::
// External functions
// ...
+ function() external {
+ ...
+ }
+
// Private functions
// ...
@@ -318,10 +322,6 @@ No::
...
}
- function() public {
- ...
- }
-
// Internal functions
// ...
}
@@ -374,13 +374,13 @@ Don't include a whitespace in the fallback function:
Yes::
- function() public {
+ function() external {
...
}
No::
- function () public {
+ function () external {
...
}