Skip to content

Commit 5d90dd1

Browse files
authored
Merge pull request #13255 from vdusart/patch-1
[Docs] Fix operator docs to use an actually convertible type when describing how common type is chosen
2 parents b6f11b3 + f012a77 commit 5d90dd1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/types/operators.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Operators
55

66
Arithmetic and bit operators can be applied even if the two operands do not have the same type.
77
For example, you can compute ``y = x + z``, where ``x`` is a ``uint8`` and ``z`` has
8-
the type ``int32``. In these cases, the following mechanism will be used to determine
8+
the type ``uint32``. In these cases, the following mechanism will be used to determine
99
the type in which the operation is computed (this is important in case of overflow)
1010
and the type of the operator's result:
1111

0 commit comments

Comments
 (0)