Update format

Used code-block format for "null" keyword.

Co-authored-by: Danil Alexeev <dalexeev12@yandex.ru>
This commit is contained in:
Lexyth
2025-03-23 11:15:29 +01:00
committed by GitHub
parent 58c9fdb6b5
commit 8609443a5b

View File

@@ -1053,7 +1053,7 @@ that type will be used to infer the type of the var.
.. note::
This option is considered more :ref:`type-safe<doc_gdscript_static_typing_safe_lines>` than type hints, but also less null-safe as it silently casts the variable to null in case of a type mismatch at runtime, without an error/warning.
This option is considered more :ref:`type-safe<doc_gdscript_static_typing_safe_lines>` than type hints, but also less null-safe as it silently casts the variable to ``null`` in case of a type mismatch at runtime, without an error/warning.
**Bad**: