Fix void typed function code sample in GDScript basics (#5281)

This commit is contained in:
Andrew Kim
2021-09-25 13:48:24 -04:00
committed by GitHub
parent 8426da72e6
commit 807734819e

View File

@@ -755,7 +755,7 @@ return early with the ``return`` keyword, but they can't return any value.
::
void_function() -> void:
func void_function() -> void:
return # Can't return a value
.. note:: Non-void functions must **always** return a value, so if your code has