Document that break cannot be used in switch

This commit is contained in:
Mitchell Kember
2022-09-16 22:12:10 -07:00
committed by GitHub
parent d5561623aa
commit ee1018ab53
2 changed files with 3 additions and 1 deletions

View File

@@ -17,7 +17,7 @@ Synopsis
Description
-----------
``break`` halts a currently running loop (*LOOP_CONSTRUCT*), such as a :ref:`switch <cmd-switch>`, :ref:`for <cmd-for>` or :ref:`while <cmd-while>` loop. It is usually added inside of a conditional block such as an :ref:`if <cmd-if>` block.
``break`` halts a currently running loop (*LOOP_CONSTRUCT*), such as a :ref:`for <cmd-for>` or :ref:`while <cmd-while>` loop. It is usually added inside of a conditional block such as an :ref:`if <cmd-if>` block.
There are no parameters for ``break``.