Skip to content

Commit e41209c

Browse files
committed
Fix small error in Variant doc
1 parent 29b3d9e commit e41209c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/classes/Variant.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
foo = "Now foo is a string!"
1212
foo = RefCounted.new() # foo is an Object
1313
var bar: int = 2 # bar is a statically typed integer.
14-
# bar = "Uh oh! I can't make static variables become a different type!"
14+
# bar = "Uh oh! I can't make statically typed variables become a different type!"
1515
[/gdscript]
1616
[csharp]
1717
// C# is statically typed. Once a variable has a type it cannot be changed. You can use the `var` keyword to let the compiler infer the type automatically.
@@ -36,7 +36,7 @@
3636
match typeof(foo):
3737
TYPE_NIL:
3838
print("foo is null")
39-
TYPE_INTEGER:
39+
TYPE_INT:
4040
print("foo is an integer")
4141
TYPE_OBJECT:
4242
# Note that Objects are their own special category.

0 commit comments

Comments
 (0)