Update gdscript_styleguide.rst - clarified sentence and grammar (#9110)

* Update gdscript_styleguide.rst - clarified sentence and grammar

- Clarified the statement on "One statement per line"
- Removed unclear sentence with incorrect grammar

---------

Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
This commit is contained in:
444B
2024-03-21 12:49:25 +02:00
committed by GitHub
parent 4857caa687
commit 3d441150b1

View File

@@ -307,8 +307,8 @@ editor. For example, when looking at a differential revision.
One statement per line
~~~~~~~~~~~~~~~~~~~~~~
Never combine multiple statements on a single line. No, C programmers,
not even with a single line conditional statement.
Avoid combining multiple statements on a single line, including conditional
statements, to adhere to the GDScript style guidelines for readability.
**Good**: