mirror of
https://github.com/vlang/v.git
synced 2025-09-14 01:47:30 -04:00
docs: fix typo, force regeneration of docs.vlang.io
This commit is contained in:
parent
ea1df0260e
commit
4885b815f4
@ -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)
|
* [Running a project folder](#running-a-project-folder-with-several-files)
|
||||||
* [Comments](#comments)
|
* [Comments](#comments)
|
||||||
* [Functions](#functions)
|
* [Functions](#functions)
|
||||||
* [Hoistings](#hoistings)
|
* [Hoisting](#hoisting)
|
||||||
* [Returning multiple values](#returning-multiple-values)
|
* [Returning multiple values](#returning-multiple-values)
|
||||||
* [Symbol visibility](#symbol-visibility)
|
* [Symbol visibility](#symbol-visibility)
|
||||||
* [Variables](#variables)
|
* [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.
|
Just like in Go and C, functions cannot be overloaded.
|
||||||
This simplifies the code and improves maintainability and readability.
|
This simplifies the code and improves maintainability and readability.
|
||||||
|
|
||||||
### Hoistings
|
### Hoisting
|
||||||
|
|
||||||
Functions can be used before their declaration:
|
Functions can be used before their declaration:
|
||||||
`add` and `sub` are declared after `main`, but can still be called from `main`.
|
`add` and `sub` are declared after `main`, but can still be called from `main`.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user