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
This commit is contained in:
Damian Wechman 2022-07-08 13:55:49 +02:00 committed by GitHub
commit 5d90dd1982
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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