You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since the introduction of serde support, most newtypes implement TryFrom<&[u8]> which simply delegates to from_slice(). This seems a bit redundant, especially if/when moving to Rust 2021 Edition, where TryFrom/TryInto are part of prelude. We could consider removing from_slice in the future and simply provide TryFrom only instead.
The text was updated successfully, but these errors were encountered:
Since the introduction of
serde
support, most newtypes implementTryFrom<&[u8]>
which simply delegates tofrom_slice()
. This seems a bit redundant, especially if/when moving to Rust 2021 Edition, whereTryFrom
/TryInto
are part of prelude. We could consider removingfrom_slice
in the future and simply provideTryFrom
only instead.The text was updated successfully, but these errors were encountered: