mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Fixed typos (#3139)
This commit is contained in:
parent
1e085f85de
commit
f9b240096f
@ -25,7 +25,7 @@ solidity code. The goal of this guide is *consistency*. A quote from python's
|
|||||||
captures this concept well.
|
captures this concept well.
|
||||||
|
|
||||||
A style guide is about consistency. Consistency with this style guide is important. Consistency within a project is more important. Consistency within one module or function is most important.
|
A style guide is about consistency. Consistency with this style guide is important. Consistency within a project is more important. Consistency within one module or function is most important.
|
||||||
But most importantly: know when to be inconsistent -- sometimes the style guide just doesn't apply. When in doubt, use your best judgment. Look at other examples and decide what looks best. And don't hesitate to ask!
|
But most importantly: know when to be inconsistent -- sometimes the style guide just doesn't apply. When in doubt, use your best judgement. Look at other examples and decide what looks best. And don't hesitate to ask!
|
||||||
|
|
||||||
|
|
||||||
***********
|
***********
|
||||||
@ -223,7 +223,7 @@ Whitespace in Expressions
|
|||||||
|
|
||||||
Avoid extraneous whitespace in the following situations:
|
Avoid extraneous whitespace in the following situations:
|
||||||
|
|
||||||
Immediately inside parenthesis, brackets or braces, with the exception of single-line function declarations.
|
Immediately inside parenthesis, brackets or braces, with the exception of single line function declarations.
|
||||||
|
|
||||||
Yes::
|
Yes::
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user