From d452932b1846a9eff61b551ebaa1cfaeaf795d6a Mon Sep 17 00:00:00 2001 From: mfahampshire Date: Mon, 20 Oct 2025 22:41:55 +0100 Subject: [PATCH] clippy --- Cargo.toml | 2 +- common/client-core/src/client/base_client/mod.rs | 1 - common/client-core/src/client/inbound_messages.rs | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index a7c72700f3..00f77e7b47 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -120,7 +120,7 @@ members = [ "common/wireguard-private-metadata/tests", "common/wireguard-types", "common/zulip-client", - "documentation/autodoc", + # "documentation/autodoc", "gateway", "nym-api", "nym-api/nym-api-requests", diff --git a/common/client-core/src/client/base_client/mod.rs b/common/client-core/src/client/base_client/mod.rs index 2edffec2f5..3694f7fe46 100644 --- a/common/client-core/src/client/base_client/mod.rs +++ b/common/client-core/src/client/base_client/mod.rs @@ -68,7 +68,6 @@ use std::path::Path; use std::sync::Arc; use time::OffsetDateTime; use tokio_util::sync::{PollSendError, PollSender}; -use tracing::{debug, error, info}; use url::Url; #[cfg(target_arch = "wasm32")] diff --git a/common/client-core/src/client/inbound_messages.rs b/common/client-core/src/client/inbound_messages.rs index 66e0b49a86..bd2c9724c1 100644 --- a/common/client-core/src/client/inbound_messages.rs +++ b/common/client-core/src/client/inbound_messages.rs @@ -214,7 +214,7 @@ impl Encoder<&[u8]> for AdressedInputMessageCodec { fn encode(&mut self, item: &[u8], buf: &mut BytesMut) -> Result<(), Self::Error> { let mut codec = InputMessageCodec; - let input_message = InputMessage::simple(item, self.0.clone()); + let input_message = InputMessage::simple(item, self.0); codec.encode(input_message, buf)?; Ok(()) }