mirror of https://github.com/rust-lang/reference
Merge pull request #1384 from mattheww/2023-07_divzero-b
Operator expressions: make the note about division by zero clearer.
This commit is contained in:
commit
5377523464
|
@ -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.
|
||||
|
||||
|
|
Loading…
Reference in New Issue