Remove explicit conversion FAQ item, covered elsewhere

This commit is contained in:
Chris Ward 2018-12-19 17:51:33 +01:00
parent 051df31924
commit f4ee72494f

View File

@ -178,16 +178,6 @@ does not fit inside this range, it is truncated. These truncations can have
above is necessary to avoid certain attacks.
Why are explicit conversions between fixed-size bytes types and integer types failing?
======================================================================================
Since version 0.5.0 explicit conversions between fixed-size byte arrays and integers are only allowed,
if both types have the same size. This prevents unexpected behaviour when truncating or padding.
Such conversions are still possible, but intermediate casts are required that make the desired
truncation and padding convention explicit. See :ref:`types-conversion-elementary-types` for a full
explanation and examples.
Why can number literals not be converted to fixed-size bytes types?
===================================================================