Skip to content

Commit fc7dbeb

Browse files
author
Robert Marsh
committed
Docs: quotes around "then" block and "else" block
1 parent 30e501e commit fc7dbeb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/language/learn-ql/cpp/guards.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ The ``ensuresLt`` predicate
5858
***************************
5959
When ``ensuresLt(left, right, k, block, true)`` holds, then ``block`` is only executed if ``left`` was strictly less than ``right + k`` at their last evaluation. When ``ensuresLt(left, right, k, block, false)`` holds, then ``block`` is only executed if ``left`` was greater than or equal to ``right + k`` at their last evaluation.
6060

61-
In the following code sample, the comparison on the first line ensures that ``index`` is less than ``size`` in the then block, and that ``index`` is greater than or equal to ``size`` in the else block.
61+
In the following code sample, the comparison on the first line ensures that ``index`` is less than ``size`` in the "then" block, and that ``index`` is greater than or equal to ``size`` in the "else" block.
6262

6363
.. code-block:: cpp
6464

0 commit comments

Comments
 (0)