Fix typos with codespell
Using codespell 2.0.0. Method: ``` $ cat > ../godot-word-whitelist.txt << EOF ang curvelinear dof doubleclick fave findn GIRD leapyear lod merchantibility nd numer ois ony que seeked synching te uint unselect webp EOF $ codespell -w -q 3 -I ../godot-word-whitelist.txt --skip="./thirdparty,*.po" $ git diff // undo unwanted changes ```
This commit is contained in:
@@ -333,14 +333,14 @@
|
||||
[gdscript]
|
||||
# Will evaluate to `true`.
|
||||
if 2 in [2, 4, 6, 8]:
|
||||
print("Containes!")
|
||||
print("Contains!")
|
||||
[/gdscript]
|
||||
[csharp]
|
||||
// As there is no "in" keyword in C#, you have to use Contains
|
||||
var array = new Godot.Collections.Array{2, 4, 6, 8};
|
||||
if (array.Contains(2))
|
||||
{
|
||||
GD.Print("Containes!");
|
||||
GD.Print("Contains!");
|
||||
}
|
||||
[/csharp]
|
||||
[/codeblocks]
|
||||
|
||||
Reference in New Issue
Block a user