Browse Source

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 <[email protected]>
444B 1 year ago
parent
commit
3d441150b1
1 changed files with 2 additions and 2 deletions
  1. 2 2
      tutorials/scripting/gdscript/gdscript_styleguide.rst

+ 2 - 2
tutorials/scripting/gdscript/gdscript_styleguide.rst

@@ -307,8 +307,8 @@ editor. For example, when looking at a differential revision.
 One statement per line
 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**:
 **Good**: