mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-29 20:46:07 +03:00
[arm] fix unused unsafe warning
This commit is contained in:
@@ -31,7 +31,7 @@ pub unsafe fn _clz_u64(x: u64) -> u64 {
|
||||
#[inline(always)]
|
||||
#[cfg_attr(test, assert_instr(rbit))]
|
||||
pub unsafe fn _rbit_u64(x: u64) -> u64 {
|
||||
unsafe { rbit_u64(x as i64) as u64 }
|
||||
rbit_u64(x as i64) as u64
|
||||
}
|
||||
|
||||
/// Counts the leading most significant bits set.
|
||||
|
||||
Reference in New Issue
Block a user