Skip to content

Commit

Permalink
Merge pull request #1384 from mattheww/2023-07_divzero-b
Browse files Browse the repository at this point in the history
Operator expressions: make the note about division by zero clearer.
  • Loading branch information
ehuss authored Jul 20, 2023
2 parents fd8abed + 67f4153 commit 5377523
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/expressions/operator-expr.md
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ The operands of all of these operators are evaluated in [value expression contex
\*\*\* Arithmetic right shift on signed integer types, logical right shift on
unsigned integer types.

Division by zero panics.
For integer types, division by zero panics.

Here are examples of these operators being used.

Expand Down

0 comments on commit 5377523

Please sign in to comment.