Skip to content

Commit

Permalink
Fix code block formatting error in control flow doc
Browse files Browse the repository at this point in the history
  • Loading branch information
jiahao committed Jul 22, 2014
1 parent 2e88e86 commit e874beb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/manual/control-flow.rst
Original file line number Diff line number Diff line change
Expand Up @@ -771,11 +771,11 @@ assumes ``x`` is a real number and returns its square root:
Note that the symbol following ``catch`` will always be interpreted as a
name for the exception, so care is needed when writing ``try/catch`` expressions
on a single line. The following code will *not* work to return the value of ``x``
in case of an error:
in case of an error::

try bad() catch x end

Instead, use a semicolon or insert a line break after ``catch``:
Instead, use a semicolon or insert a line break after ``catch``::

try bad() catch; x end

Expand Down

0 comments on commit e874beb

Please sign in to comment.