Skip to content

Commit bf7bc4f

Browse files
frankplowalexrp
authored andcommitted
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.
1 parent 43e52ec commit bf7bc4f

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

doc/langref.html.in

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2937,8 +2937,7 @@ or
29372937
</p>
29382938
{#header_open|The Global Error Set#}
29392939
<p>{#syntax#}anyerror{#endsyntax#} refers to the global error set.
2940-
This is the error set that contains all errors in the entire compilation unit.
2941-
It is a superset of all other error sets and a subset of none of them.
2940+
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.
29422941
</p>
29432942
<p>
29442943
You can {#link|coerce|Type Coercion#} any error set to the global one, and you can explicitly

0 commit comments

Comments
 (0)