Skip to content

Commit 2ef823a

Browse files
committed
Address clippy lint violation clippy::let_underscore_untyped introduced in Rust 1.69.0
See: - rust-lang/rust-clippy#10442 - artichoke/artichoke#2511 - artichoke/intaglio#211
1 parent 1c5cf53 commit 2ef823a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ macro_rules! lossless_cast_u32_to_usize {
242242
macro_rules! const_assert_size_eq {
243243
($left:ty, $right:ty $(,)?) => {
244244
const _: () = {
245-
let _ = ::core::mem::transmute::<$left, $right>;
245+
let _assert = ::core::mem::transmute::<$left, $right>;
246246
};
247247
};
248248
}

0 commit comments

Comments
 (0)