From ee83e24fc62f214634e15f7c28c8ec3119bb95c6 Mon Sep 17 00:00:00 2001 From: Hartigan Date: Sat, 16 Mar 2024 17:34:41 +0100 Subject: [PATCH] Clippy: 'cargo clippy --all-targets --all-features' for opentelemetry-datadog --- opentelemetry-datadog/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/opentelemetry-datadog/src/lib.rs b/opentelemetry-datadog/src/lib.rs index 5f0d1810..371475c2 100644 --- a/opentelemetry-datadog/src/lib.rs +++ b/opentelemetry-datadog/src/lib.rs @@ -429,7 +429,7 @@ mod propagator { ); if span_context.trace_flags() & TRACE_FLAG_DEFERRED != TRACE_FLAG_DEFERRED { - let sampling_priority = get_sampling_priority(&span_context); + let sampling_priority = get_sampling_priority(span_context); injector.set( DATADOG_SAMPLING_PRIORITY_HEADER,