Skip to content

Commit 0ba188e

Browse files
committed
format
Signed-off-by: Robert Kruszewski <github@robertk.io>
1 parent 44d12f0 commit 0ba188e

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

vortex-buffer/src/bit/select.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -457,9 +457,11 @@ fn select_in_word(word: u64, nth: usize) -> usize {
457457
unsafe fn select_in_word_bmi2(word: u64, nth: usize) -> usize {
458458
use std::arch::x86_64::_pdep_u64;
459459
use std::arch::x86_64::_tzcnt_u64;
460+
460461
use vortex_error::VortexExpect;
461462

462-
usize::try_from(unsafe { _tzcnt_u64(_pdep_u64(1u64 << nth, word)) }).vortex_expect("safe to convert tzcnt result to usize")
463+
usize::try_from(unsafe { _tzcnt_u64(_pdep_u64(1u64 << nth, word)) })
464+
.vortex_expect("safe to convert tzcnt result to usize")
463465
}
464466

465467
/// Scalar: narrow to the correct byte, then clear `nth` lowest set bits and trailing-zeros.

0 commit comments

Comments
 (0)