From fd2fc49a06ef6b37515045cc381f57fc5f480352 Mon Sep 17 00:00:00 2001 From: Dimitris Apostolou Date: Wed, 28 Feb 2024 16:19:25 +0200 Subject: [PATCH] fix: fix feature = "cargo-clippy" deprecation --- opentelemetry-jaeger/src/exporter/thrift/agent.rs | 2 +- opentelemetry-jaeger/src/exporter/thrift/jaeger.rs | 2 +- opentelemetry-jaeger/src/exporter/thrift/zipkincore.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/opentelemetry-jaeger/src/exporter/thrift/agent.rs b/opentelemetry-jaeger/src/exporter/thrift/agent.rs index a606fc1443..1fdfa45c04 100644 --- a/opentelemetry-jaeger/src/exporter/thrift/agent.rs +++ b/opentelemetry-jaeger/src/exporter/thrift/agent.rs @@ -3,7 +3,7 @@ #![allow(unused_imports)] #![allow(unused_extern_crates)] -#![cfg_attr(feature = "cargo-clippy", allow(clippy::too_many_arguments, clippy::type_complexity))] +#![cfg_attr(clippy, allow(clippy::too_many_arguments, clippy::type_complexity))] #![cfg_attr(rustfmt, rustfmt_skip)] extern crate thrift; diff --git a/opentelemetry-jaeger/src/exporter/thrift/jaeger.rs b/opentelemetry-jaeger/src/exporter/thrift/jaeger.rs index 314674fb87..ca5a49ee27 100644 --- a/opentelemetry-jaeger/src/exporter/thrift/jaeger.rs +++ b/opentelemetry-jaeger/src/exporter/thrift/jaeger.rs @@ -3,7 +3,7 @@ #![allow(unused_imports)] #![allow(unused_extern_crates)] -#![cfg_attr(feature = "cargo-clippy", allow(clippy::too_many_arguments, clippy::type_complexity))] +#![cfg_attr(clippy, allow(clippy::too_many_arguments, clippy::type_complexity))] #![cfg_attr(rustfmt, rustfmt_skip)] extern crate thrift; diff --git a/opentelemetry-jaeger/src/exporter/thrift/zipkincore.rs b/opentelemetry-jaeger/src/exporter/thrift/zipkincore.rs index 30285b77c8..e9b10cc109 100644 --- a/opentelemetry-jaeger/src/exporter/thrift/zipkincore.rs +++ b/opentelemetry-jaeger/src/exporter/thrift/zipkincore.rs @@ -3,7 +3,7 @@ #![allow(unused_imports)] #![allow(unused_extern_crates)] -#![cfg_attr(feature = "cargo-clippy", allow(clippy::too_many_arguments, clippy::type_complexity))] +#![cfg_attr(clippy, allow(clippy::too_many_arguments, clippy::type_complexity))] #![cfg_attr(rustfmt, rustfmt_skip)] extern crate thrift;