diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2019-07-04 00:35:28 -0400 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2019-07-04 00:35:28 -0400 |
| commit | 96fd1030730e2980fa852ae45a67a2a4008bb163 (patch) | |
| tree | 35994567d3e9c618e05301131c581d85146d4e78 /doc | |
| parent | bfe0bf695b8471a5553bf5cdf5fc527c42eda1e8 (diff) | |
| download | zig-96fd1030730e2980fa852ae45a67a2a4008bb163.tar.gz zig-96fd1030730e2980fa852ae45a67a2a4008bb163.zip | |
improve the error message and test coverage
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/langref.html.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/langref.html.in b/doc/langref.html.in index b006544f00..28d8745a81 100644 --- a/doc/langref.html.in +++ b/doc/langref.html.in @@ -3024,7 +3024,7 @@ test "switch on tagged union" { // Switching on more complex enums is allowed. const b = switch (a) { // A capture group is allowed on a match, and will return the enum - // value matched. If the payloads of both cases are the same + // value matched. If the payload types of both cases are the same // they can be put into the same switch prong. Item.A, Item.E => |item| item, |
