Skip to content

Commit 6c9c803

Browse files
committed
update wording
1 parent 5cf2e3e commit 6c9c803

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/language/ql-handbook/types.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -493,8 +493,8 @@ Type unions
493493
Type unions are user-defined types that are declared with the keyword ``class``.
494494
The syntax resembles :ref:`type aliases <type-aliases>`, but with two or more type expressions on the right-hand side.
495495

496-
Type unions are used for creating restricted versions of existing :ref:`algebraic datatypes <algebraic-datatypes>`, by explicitly
497-
selecting a subset of the branches of those datatypes and binding them to a new type.
496+
Type unions are used for creating restricted versions of an existing :ref:`algebraic datatype <algebraic-datatypes>`, by explicitly
497+
selecting a subset of the branches of that datatype and binding them to a new type.
498498
Type unions of :ref:`database types <database-types>` are also supported.
499499

500500
You can use a type union to explicitly restrict the permitted branches from an algebraic datatype

0 commit comments

Comments
 (0)