1
0
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:
kahsa 2022-11-04 15:31:24 +09:00 committed by GitHub
parent eb0c46e13a
commit cb5c6b605b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -60,9 +60,9 @@ To do so, run the command `v up`.
* [Module import aliasing](#module-import-aliasing)
* [Statements & expressions](#statements--expressions)
* [If](#if)
* [Match](#match)
* [In operator](#in-operator)
* [For loop](#for-loop)
* [Match](#match)
* [Defer](#defer)
* [Goto](#goto)
* [Structs](#structs)
@ -2064,6 +2064,7 @@ struct Foo {
All struct fields are zeroed by default during the creation of the struct.
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.