From a583f092800b7c8b05c593afc4f4c72b0c211897 Mon Sep 17 00:00:00 2001 From: datelier <57349093+datelier@users.noreply.github.com> Date: Tue, 5 Nov 2024 14:14:39 +0900 Subject: [PATCH] fix rust-analyzer (#2731) --- rust/bin/agent/src/handler/update.rs | 2 +- rust/bin/meta/src/handler/meta.rs | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/rust/bin/agent/src/handler/update.rs b/rust/bin/agent/src/handler/update.rs index 073faaa2e4..02a3d2fe95 100644 --- a/rust/bin/agent/src/handler/update.rs +++ b/rust/bin/agent/src/handler/update.rs @@ -49,7 +49,7 @@ impl update_server::Update for super::Agent { #[doc = " A method to update timestamp indexed vectors in a single request.\n"] async fn update_timestamp( &self, - request: tonic::Request, + _request: tonic::Request, ) -> std::result::Result, tonic::Status> { todo!() } diff --git a/rust/bin/meta/src/handler/meta.rs b/rust/bin/meta/src/handler/meta.rs index 8e5dfa5808..2480cbe938 100644 --- a/rust/bin/meta/src/handler/meta.rs +++ b/rust/bin/meta/src/handler/meta.rs @@ -20,20 +20,20 @@ use proto::{meta::v1::meta_server, payload::v1::{meta, Empty}}; impl meta_server::Meta for super::Meta { async fn get( &self, - request: tonic::Request, + _request: tonic::Request, ) -> std::result::Result, tonic::Status> { todo!() } async fn set( &self, - request: tonic::Request, + _request: tonic::Request, ) -> std::result::Result, tonic::Status> { todo!() } async fn delete( &self, - request: tonic::Request, + _request: tonic::Request, ) -> std::result::Result, tonic::Status> { todo!() }