Commit 4210cca
authored
Use read_unaligned instead of read in transmute_copy
Closes: rust-lang#55044
This change could result in performance regression on non-x86 platforms. Alternative would be to update `transmute_copy` with alignment requirements.1 parent 8f19cad commit 4210cca
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
818 | 818 | | |
819 | 819 | | |
820 | 820 | | |
821 | | - | |
| 821 | + | |
822 | 822 | | |
823 | 823 | | |
824 | 824 | | |
| |||
0 commit comments