From bdb65fc6538aa811876d7d013672ddc6bcd24292 Mon Sep 17 00:00:00 2001 From: Christian Eltzschig Date: Sat, 30 Nov 2024 17:04:18 +0100 Subject: [PATCH] [#533] Fix clippy warning that occurred only on ubuntu --- iceoryx2-bb/derive-macros/src/lib.rs | 1 - iceoryx2-bb/log/src/fail.rs | 1 - 2 files changed, 2 deletions(-) diff --git a/iceoryx2-bb/derive-macros/src/lib.rs b/iceoryx2-bb/derive-macros/src/lib.rs index f33847324..c9b21a46f 100644 --- a/iceoryx2-bb/derive-macros/src/lib.rs +++ b/iceoryx2-bb/derive-macros/src/lib.rs @@ -42,7 +42,6 @@ use syn::{parse_macro_input, Data, DeriveInput, Expr, ExprLit, Fields, Lit}; /// /// unsafe { core::ptr::drop_in_place(raw_memory) }; /// unsafe { dealloc(raw_memory.cast(), layout) }; - /// ``` #[proc_macro_derive(PlacementDefault)] pub fn placement_default_derive(input: TokenStream) -> TokenStream { diff --git a/iceoryx2-bb/log/src/fail.rs b/iceoryx2-bb/log/src/fail.rs index 33c38535f..6d810fbbb 100644 --- a/iceoryx2-bb/log/src/fail.rs +++ b/iceoryx2-bb/log/src/fail.rs @@ -51,7 +51,6 @@ /// } /// } /// ``` - #[macro_export(local_inner_macros)] macro_rules! fail { (with $error_value:expr, $($message:expr),*) => {