Skip to content

Commit

Permalink
match expressions doesn't need always to be terminated by a semicolon
Browse files Browse the repository at this point in the history
  • Loading branch information
driade committed Jan 29, 2025
1 parent bcafb20 commit 1600ba8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions language/control-structures/match.xml
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,7 @@ string(8) "Teenager"
</note>
<note>
<simpara>
A <literal>match</literal> expression <emphasis>must</emphasis> be
terminated by a semicolon <literal>;</literal>.
When a <literal>match</literal> expression is used as a standalone expression it <emphasis>must</emphasis> be terminated by a semicolon<literal>;</literal>.
</simpara>
</note>
</example>
Expand Down

0 comments on commit 1600ba8

Please sign in to comment.