From 11519f3c5468b3d9ee709092d4b98837332c5b8d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Aulery?= Date: Fri, 25 Dec 2020 16:28:12 +0100 Subject: [PATCH] doc: explain more precisely what is the value returned by a match (#7556) --- doc/docs.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/docs.md b/doc/docs.md index c89ab330e5..aecf54f67f 100644 --- a/doc/docs.md +++ b/doc/docs.md @@ -1092,7 +1092,7 @@ s := match number { } ``` -A match expression returns the final expression from each branch. +A match expression returns the value of the final expression from the matching branch. ```v enum Color {