doc: explain more precisely what is the value returned by a match (#7556)

pull/7563/head
Stéphane Aulery 2020-12-25 16:28:12 +01:00 committed by GitHub
parent 775d16cce3
commit 11519f3c54
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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 {