-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cleanup: Remove now unneeded wrapper types from mptable.rs
Before e0c9ac9 we needed a workaround to be able to implement the ByteValued trait for the various mpspec structures, as they were defined in a different crate (and that crate contained autogenerated bindings). Thus we introduced wrapper types to work around the orphan rules. Now however all code lives in the vmm crate, meaning the wrapper types are no longer neccessary. Furthermore, we do not need to use `unsafe` in compute_checksum, as it is only called for types that implement `ByteValued`. Signed-off-by: Patrick Roy <[email protected]>
- Loading branch information
Showing
1 changed file
with
121 additions
and
140 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