Skip to content

Commit 87cadbc

Browse files
authored
cmov: fix clippy (#1484)
1 parent 85600e9 commit 87cadbc

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

cmov/tests/regression.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
//! Tests for previous bugs in the implementation.
22
3-
use std::hint::black_box;
3+
#![allow(clippy::cast_possible_truncation, reason = "test")]
44

55
use cmov::{Cmov, CmovEq};
6+
use core::hint::black_box;
67

78
#[test]
89
fn u64_cmoveq() {

0 commit comments

Comments
 (0)