Byte-rearranging methods on u8
and i8
should be deprecated
#44724
Labels
C-feature-request
Category: A feature request, i.e: not implemented / a PR.
T-libs-api
Relevant to the library API team, which will review and decide on the PR/issue.
Considering how there's no common trait for these, it makes sense that
u8::swap_bytes
,u8::from_le
,u8::from_be
,u8::to_be
, andu8::from_be
should all be deprecated. These methods have no effect and it is slightly confusing to have them.The text was updated successfully, but these errors were encountered: