Update value-types.rst - fix typo

Fix typo at line 69.
This commit is contained in:
sgmoore 2021-10-02 20:32:25 -07:00 committed by GitHub
parent d10e668f4f
commit ca232142be
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -66,7 +66,7 @@ Shifts
^^^^^^
The result of a shift operation has the type of the left operand, truncating the result to match the type.
The right operand must be of unsigned type, trying to shift by an signed type will produce a compilation error.
The right operand must be of unsigned type, trying to shift by a signed type will produce a compilation error.
Shifts can be "simulated" using multiplication by powers of two in the following way. Note that the truncation
to the type of the left operand is always performed at the end, but not mentioned explicitly.