From cb5c6b605b62d79a295a249755e2d7d960d2fe47 Mon Sep 17 00:00:00 2001 From: kahsa Date: Fri, 4 Nov 2022 15:31:24 +0900 Subject: [PATCH] doc: fix match heading and add ref field link (#16316) --- doc/docs.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/docs.md b/doc/docs.md index a3533bdf14..77e0f8ce39 100644 --- a/doc/docs.md +++ b/doc/docs.md @@ -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.