From c2fb0fe3217dbc0d400f0b8478caed722215d86c Mon Sep 17 00:00:00 2001 From: wtfsck Date: Mon, 4 Oct 2021 20:32:42 +0200 Subject: [PATCH] Disable clippy let_unit_value warning --- src/rust/iced-x86/src/decoder/table_de/mod.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/rust/iced-x86/src/decoder/table_de/mod.rs b/src/rust/iced-x86/src/decoder/table_de/mod.rs index f858c19e6..404d49c70 100644 --- a/src/rust/iced-x86/src/decoder/table_de/mod.rs +++ b/src/rust/iced-x86/src/decoder/table_de/mod.rs @@ -313,6 +313,7 @@ type VexMap0Type = (); #[cfg(not(feature = "no_vex"))] #[must_use] +#[allow(clippy::let_unit_value)] pub(super) fn read_vex() -> ( VexMap0Type, Vec<(OpCodeHandlerDecodeFn, &'static OpCodeHandler)>,