From d5473d0967d4671ea8e10b4f7106828a524c7623 Mon Sep 17 00:00:00 2001 From: tottoto Date: Sat, 23 Nov 2024 21:51:17 +0900 Subject: [PATCH] chore: Remove outdated clippy config --- tests/root-crate-path/src/main.rs | 1 - tonic/src/transport/server/mod.rs | 1 - 2 files changed, 2 deletions(-) diff --git a/tests/root-crate-path/src/main.rs b/tests/root-crate-path/src/main.rs index c6bf45a96..bf879bc70 100644 --- a/tests/root-crate-path/src/main.rs +++ b/tests/root-crate-path/src/main.rs @@ -1,4 +1,3 @@ -#[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct Animal { #[prost(string, optional, tag = "1")] diff --git a/tonic/src/transport/server/mod.rs b/tonic/src/transport/server/mod.rs index dc344615e..114c5f452 100644 --- a/tonic/src/transport/server/mod.rs +++ b/tonic/src/transport/server/mod.rs @@ -748,7 +748,6 @@ impl Router { /// # Note /// Even when the argument given is `None` this will capture *all* requests to this service name. /// As a result, one cannot use this to toggle between two identically named implementations. - #[allow(clippy::type_complexity)] pub fn add_optional_service(mut self, svc: Option) -> Self where S: Service, Response = Response, Error = Infallible>