Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use
slice::from_raw_parts
instead of mem::transmute
Using `mem::transmute` to transmute between slices is UB as far as I know because slice representation isn't guaranteed.
- Loading branch information