mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-02 08:11:12 +00:00
run cargo fmt
This commit is contained in:
parent
8b7acb5c93
commit
bc492fa22b
2 changed files with 16 additions and 2 deletions
|
@ -665,7 +665,8 @@ impl<'a> WasmBackend<'a> {
|
|||
bytes[11] = 0x80 | (len as u8);
|
||||
|
||||
// Transform into two integers, to minimise number of instructions
|
||||
let bytes_split: &([u8; 8], [u8; 4]) = unsafe { std::mem::transmute(&bytes) };
|
||||
let bytes_split: &([u8; 8], [u8; 4]) =
|
||||
unsafe { std::mem::transmute(&bytes) };
|
||||
let int64 = i64::from_le_bytes(bytes_split.0);
|
||||
let int32 = i32::from_le_bytes(bytes_split.1);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue