Skip to content

Commit

Permalink
chore: Remove outdated clippy config (#2063)
Browse files Browse the repository at this point in the history
  • Loading branch information
tottoto authored Nov 23, 2024
1 parent dcad2c2 commit 2dc5e31
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion tests/root-crate-path/src/main.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Animal {
#[prost(string, optional, tag = "1")]
Expand Down
1 change: 0 additions & 1 deletion tonic/src/transport/server/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -748,7 +748,6 @@ impl<L> Router<L> {
/// # 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<S>(mut self, svc: Option<S>) -> Self
where
S: Service<Request<Body>, Response = Response<Body>, Error = Infallible>
Expand Down

0 comments on commit 2dc5e31

Please sign in to comment.