zig

fork of https://codeberg.org/ziglang/zig
Log | Files | Refs | README | LICENSE

commit bf7bc4ff0164f54d7323f1ba5d41ebf57a77149d (tree)
parent 43e52ec5c5a2267791cb2aaaf37f3f84dbe29d25
Author: Frank Plowman <post@frankplowman.com>
Date:   Sat, 28 Sep 2024 12:40:08 +0100

langref/errorset: Replace subset description with union

The previous language using subsets was really just stating a couple
of the properties of the union of a group of sets, and with a minor
error at that.

Diffstat:
Mdoc/langref.html.in | 3+--
1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/doc/langref.html.in b/doc/langref.html.in @@ -2937,8 +2937,7 @@ or </p> {#header_open|The Global Error Set#} <p>{#syntax#}anyerror{#endsyntax#} refers to the global error set. - This is the error set that contains all errors in the entire compilation unit. - It is a superset of all other error sets and a subset of none of them. + This is the error set that contains all errors in the entire compilation unit, i.e. it is the union of all other error sets. </p> <p> You can {#link|coerce|Type Coercion#} any error set to the global one, and you can explicitly