Run cargo fmt

This commit is contained in:
Jennifer Wilcox 2021-04-17 14:11:47 -05:00
parent 63607e5533
commit d318d05067

View file

@ -21,7 +21,10 @@ fn rom_table_lookup<T>(table: *const u16, tag: RomFnTableCode) -> T {
unsafe {
let rom_table_lookup_ptr: *const u32 = rom_hword_as_ptr(ROM_TABLE_LOOKUP_PTR);
let rom_table_lookup: RomTableLookupFn<T> = core::mem::transmute(rom_table_lookup_ptr);
rom_table_lookup(rom_hword_as_ptr(table) as *const u16, u16::from_le_bytes(tag) as u32)
rom_table_lookup(
rom_hword_as_ptr(table) as *const u16,
u16::from_le_bytes(tag) as u32,
)
}
}