mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Update style-guide.rst
Update section 'Variable Declarations' for consistency with the format of the rest of the document.
This commit is contained in:
parent
e369e18584
commit
570e7353b5
@ -490,8 +490,14 @@ Variable Declarations
|
|||||||
Declarations of array variables should not have a space between the type and
|
Declarations of array variables should not have a space between the type and
|
||||||
the brackets.
|
the brackets.
|
||||||
|
|
||||||
Yes: `uint[] x;`
|
Yes::
|
||||||
No: `uint [] x;`
|
|
||||||
|
uint[] x;
|
||||||
|
|
||||||
|
No::
|
||||||
|
|
||||||
|
uint [] x;
|
||||||
|
|
||||||
|
|
||||||
Other Recommendations
|
Other Recommendations
|
||||||
=====================
|
=====================
|
||||||
|
Loading…
Reference in New Issue
Block a user