Skip to content

Commit 5377523

Browse files
authored
Merge pull request #1384 from mattheww/2023-07_divzero-b
Operator expressions: make the note about division by zero clearer.
2 parents fd8abed + 67f4153 commit 5377523

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/expressions/operator-expr.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ The operands of all of these operators are evaluated in [value expression contex
258258
\*\*\* Arithmetic right shift on signed integer types, logical right shift on
259259
unsigned integer types.
260260

261-
Division by zero panics.
261+
For integer types, division by zero panics.
262262

263263
Here are examples of these operators being used.
264264

0 commit comments

Comments
 (0)