diff options
author | Johannes Stoelp <johannes.stoelp@gmail.com> | 2023-12-07 23:00:09 +0100 |
---|---|---|
committer | Johannes Stoelp <johannes.stoelp@gmail.com> | 2023-12-07 23:00:09 +0100 |
commit | f4a9fdb3357ce1a2dfc12cbb0fee6b915bc810c4 (patch) | |
tree | f250376867477ac309d9fed4333224efe2d3969d /src/reg.rs | |
parent | 647e3646c2f686ce236059b935336c43c8a9a074 (diff) | |
download | juicebox-asm-f4a9fdb3357ce1a2dfc12cbb0fee6b915bc810c4.tar.gz juicebox-asm-f4a9fdb3357ce1a2dfc12cbb0fee6b915bc810c4.zip |
remove prelude
Diffstat (limited to 'src/reg.rs')
-rw-r--r-- | src/reg.rs | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -158,7 +158,10 @@ mod tests { assert!(!r.rexw()); // Check need REX byte. - let rex = matches!(r, r8l | r9l | r10l | r11l | r12l | r13l | r14l | r15l | spl | bpl | sil | dil); + let rex = matches!( + r, + r8l | r9l | r10l | r11l | r12l | r13l | r14l | r15l | spl | bpl | sil | dil + ); assert_eq!(r.need_rex(), rex); // Check need SIB byte. |