mirror of
https://github.com/vlang/v.git
synced 2025-09-09 23:39:39 -04:00
doc: fix match heading and add ref field link (#16316)
This commit is contained in:
parent
eb0c46e13a
commit
cb5c6b605b
@ -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.
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user