Skip to content

Commit d180a2b

Browse files
committed
minor changes to pass the format check
1 parent c5e2225 commit d180a2b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/arch/x86_64/processor.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@ pub fn msb(value: u64) -> Option<u64> {
1919
let ret: u64;
2020
unsafe {
2121
asm!("bsr {0}, {1}",
22-
out(reg) ret,
22+
out(reg) ret,
2323
in(reg) value,
24-
options(nomem, nostack)
24+
options(nomem, nostack)
2525
);
2626
}
2727
Some(ret)
@@ -37,9 +37,9 @@ pub fn lsb(value: u64) -> Option<u64> {
3737
let ret: u64;
3838
unsafe {
3939
asm!("bsf {0}, {1}",
40-
out(reg) ret,
40+
out(reg) ret,
4141
in(reg) value,
42-
options(nomem, nostack)
42+
options(nomem, nostack)
4343
);
4444
}
4545
Some(ret)

0 commit comments

Comments
 (0)