mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
doc: fix match heading and add ref field link (#16316)
This commit is contained in:
@ -60,9 +60,9 @@ To do so, run the command `v up`.
|
|||||||
* [Module import aliasing](#module-import-aliasing)
|
* [Module import aliasing](#module-import-aliasing)
|
||||||
* [Statements & expressions](#statements--expressions)
|
* [Statements & expressions](#statements--expressions)
|
||||||
* [If](#if)
|
* [If](#if)
|
||||||
|
* [Match](#match)
|
||||||
* [In operator](#in-operator)
|
* [In operator](#in-operator)
|
||||||
* [For loop](#for-loop)
|
* [For loop](#for-loop)
|
||||||
* [Match](#match)
|
|
||||||
* [Defer](#defer)
|
* [Defer](#defer)
|
||||||
* [Goto](#goto)
|
* [Goto](#goto)
|
||||||
* [Structs](#structs)
|
* [Structs](#structs)
|
||||||
@ -2064,6 +2064,7 @@ struct Foo {
|
|||||||
|
|
||||||
All struct fields are zeroed by default during the creation of the struct.
|
All struct fields are zeroed by default during the creation of the struct.
|
||||||
Array and map fields are allocated.
|
Array and map fields are allocated.
|
||||||
|
In case of reference value, [see](#structs-with-reference-fields).
|
||||||
|
|
||||||
It's also possible to define custom default values.
|
It's also possible to define custom default values.
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user