From d51b5618f6bb4f9bbcc07929c34def661ec7761c Mon Sep 17 00:00:00 2001 From: hamz2a Date: Fri, 7 Mar 2025 16:43:40 +0100 Subject: [PATCH] editoast: add comment explaining [allow(dead_code)] usage Signed-off-by: hamz2a --- editoast/src/core/mq_client.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/editoast/src/core/mq_client.rs b/editoast/src/core/mq_client.rs index 54fb50f0c3a..e846e3b68d0 100644 --- a/editoast/src/core/mq_client.rs +++ b/editoast/src/core/mq_client.rs @@ -292,6 +292,10 @@ impl RabbitMQClient { } } + // Left here because its isolated, its not increasing the surface of attack, + // its not making the maintenance more complex since it is small + // and the API is complete with it since it is part of the API + // we designed around RMQ. #[allow(dead_code)] pub async fn call( &self,