Skip to content

Commit fbe8d44

Browse files
authored
fmt
1 parent dfa59e7 commit fbe8d44

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/conversions/num_bigint.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,9 @@ fn int_to_u32_vec<const SIGNED: bool>(long: &Bound<'_, PyInt>) -> PyResult<Vec<u
281281
// SAFETY: `n_bytes_unsigned <= isize::MAX` (try_into above) and
282282
// `n_digits * 4 <= n_bytes_unsigned + 3`
283283
#[expect(clippy::checked_conversions)]
284-
unsafe { std::hint::assert_unchecked(n_digits * 4 <= isize::MAX as usize) };
284+
unsafe {
285+
std::hint::assert_unchecked(n_digits * 4 <= isize::MAX as usize)
286+
};
285287
ffi::PyLong_AsNativeBytes(
286288
long.as_ptr().cast(),
287289
buffer.as_mut_ptr().cast(),

0 commit comments

Comments
 (0)