Skip to content

Commit

Permalink
Operator expressions: make the note about division by zero clearer.
Browse files Browse the repository at this point in the history
  • Loading branch information
mattheww committed Jul 19, 2023
1 parent fd8abed commit 67f4153
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 67f4153

Please sign in to comment.