-
Notifications
You must be signed in to change notification settings - Fork 84
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update deprecated methods for
FromBytes
, Ref
- Rename some non-deprecated `FromBytes` methods: - `mut_from` -> `mut_from_bytes` - `mut_from_with_elems` -> `mut_from_bytes_with_elems` - `read_from` -> `read_from_bytes` - Add missing deprecated `Ref` methods: - `new_unaligned` - `new_unaligned_from_prefix` - `new_unaligned_from_suffix` - In `FromBytes`, coalesce deprecated methods at the end of the trait - Update names in deprecation messages (some names were stale) - Make all deprecated methods return `Option`s rather than `Result`s, consistent with their equivalents on 0.7 - Mark all deprecated methods as `#[inline(always)]` Makes progress on #871
- Loading branch information
Showing
2 changed files
with
170 additions
and
100 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.