Skip to content

Commit

Permalink
Merge pull request ethereum#13255 from vdusart/patch-1
Browse files Browse the repository at this point in the history
[Docs] Fix operator docs to use an actually convertible type when describing how common type is chosen
  • Loading branch information
wechman authored Jul 8, 2022
2 parents b6f11b3 + f012a77 commit 5d90dd1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/types/operators.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand Down

0 comments on commit 5d90dd1

Please sign in to comment.