From 9693ff3901d7f23163ba2a468f2e29d026941e6f Mon Sep 17 00:00:00 2001 From: Tony Arcieri Date: Thu, 28 May 2026 12:33:09 -0600 Subject: [PATCH] cmov: fix clippy --- cmov/tests/regression.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cmov/tests/regression.rs b/cmov/tests/regression.rs index 187a4293..1454f772 100644 --- a/cmov/tests/regression.rs +++ b/cmov/tests/regression.rs @@ -1,8 +1,9 @@ //! Tests for previous bugs in the implementation. -use std::hint::black_box; +#![allow(clippy::cast_possible_truncation, reason = "test")] use cmov::{Cmov, CmovEq}; +use core::hint::black_box; #[test] fn u64_cmoveq() {