Skip to content

Commit 077a736

Browse files
gnzlbgBurntSushi
authored andcommitted
[arm] fix unused unsafe warning
1 parent b58c570 commit 077a736

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/arm/v8.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ extern "C" {
3131
#[inline(always)]
3232
#[cfg_attr(test, assert_instr(rbit))]
3333
pub unsafe fn _rbit_u64(x: u64) -> u64 {
34-
unsafe { rbit_u64(x as i64) as u64 }
34+
rbit_u64(x as i64) as u64
3535
}
3636

3737
/// Counts the leading most significant bits set.

0 commit comments

Comments
 (0)