From 2ef823a6207be7405c2f926c357a365cc44e277f Mon Sep 17 00:00:00 2001 From: Ryan Lopopolo Date: Thu, 20 Apr 2023 13:49:19 -0700 Subject: [PATCH] Address clippy lint violation `clippy::let_underscore_untyped` introduced in Rust 1.69.0 See: - https://github.com/rust-lang/rust-clippy/pull/10442 - https://github.com/artichoke/artichoke/pull/2511 - https://github.com/artichoke/intaglio/pull/211 --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index cf77048..9ba6a55 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -242,7 +242,7 @@ macro_rules! lossless_cast_u32_to_usize { macro_rules! const_assert_size_eq { ($left:ty, $right:ty $(,)?) => { const _: () = { - let _ = ::core::mem::transmute::<$left, $right>; + let _assert = ::core::mem::transmute::<$left, $right>; }; }; }