docs: fix typo, force regeneration of docs.vlang.io

This commit is contained in:
Delyan Angelov 2024-05-06 11:55:52 +03:00
parent ea1df0260e
commit 4885b815f4
No known key found for this signature in database
GPG Key ID: 66886C0F12D595ED

View File

@ -60,7 +60,7 @@ by using any of the following commands in a terminal:
* [Running a project folder](#running-a-project-folder-with-several-files)
* [Comments](#comments)
* [Functions](#functions)
* [Hoistings](#hoistings)
* [Hoisting](#hoisting)
* [Returning multiple values](#returning-multiple-values)
* [Symbol visibility](#symbol-visibility)
* [Variables](#variables)
@ -340,7 +340,7 @@ Again, the type comes after the argument's name.
Just like in Go and C, functions cannot be overloaded.
This simplifies the code and improves maintainability and readability.
### Hoistings
### Hoisting
Functions can be used before their declaration:
`add` and `sub` are declared after `main`, but can still be called from `main`.