Skip to content

Commit 93b92e3

Browse files
Apply suggestions from code review [no ci]
Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
1 parent 6a08136 commit 93b92e3

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

tutorials/scripting/gdscript/warnings/confusable_identifier.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ To modify it, set :ref:`Project Settings > Debug > GDScript > Warnings > Confusa
1313
When this warning occurs
1414
------------------------
1515

16-
Some alphabets such as Cyrillic have characters that look like Latin (such as English, Spanish, etc.) characters, but are actually different.
16+
Some scripts such as Cyrillic have characters that look like Latin (such as English, Spanish, etc.) characters, but are actually different.
1717

1818
.. code-block::
1919
@@ -25,7 +25,7 @@ In this code snippet, the ``print`` statement would fail, because ``engine_name`
2525
How to fix this warning
2626
-----------------------
2727

28-
Avoid using Cyrillic or other alphabets' characters that are visually similar to Latin ones. A good rule of thumb is to prefer the Latin alphabet for program identifiers.
28+
Avoid using Cyrillic or other scripts' characters that are visually similar to Latin ones. A good rule of thumb is to prefer the Latin alphabet for program identifiers.
2929

3030

3131

tutorials/scripting/gdscript/warnings/int_as_enum_without_match.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ This warning may appear when attempting to cast an integer value to an enum type
2222
func _ready():
2323
var my_var = 3 as MyEnum # Will give warning INT_AS_ENUM_WITHOUT_MATCH.
2424
25-
The purpose of the enum is to keep track of a pre-determined number of possible values. In most cases, there is no reason to assign a value outside of those pre-determined ones, so it is considered to be likely a mistake.
25+
The purpose of the enum is to keep track of a pre-determined number of possible values. In most cases, there is no reason to assign a value outside of those pre-determined ones, so it is considered likely to be a mistake.
2626

2727
How to fix this warning
2828
-----------------------

tutorials/scripting/gdscript/warnings/unassigned_variable_op_assign.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ This warning may appear when attempting to use one of the compound-assignment op
2020
var my_counter: int
2121
my_counter += 1
2222
23-
Compound-assignment operators are shorthand for performing a binary math operation and an assignment operation. The above example is equivalent to:
23+
Compound-assignment operators are a shorthand for performing a binary math operation and an assignment operation. The above example is equivalent to:
2424

2525
.. code-block::
2626

0 commit comments

Comments
 (0)