Browse Source

Fix code formatting in GDScript style guide (#4755)

Evgeniy Vasilyev 4 năm trước cách đây
mục cha
commit
af4d5675e2

+ 1 - 0
getting_started/scripting/gdscript/gdscript_styleguide.rst

@@ -756,6 +756,7 @@ Inferred types
 In most cases you can let the compiler infer the type, using ``:=``:
 In most cases you can let the compiler infer the type, using ``:=``:
 
 
 ::
 ::
+
    var health := 0  # The compiler will use the int type.
    var health := 0  # The compiler will use the int type.
 
 
 However, in a few cases when context is missing, the compiler falls back to
 However, in a few cases when context is missing, the compiler falls back to