From 82180956d36fe2dc03b40f5fdcfc808929c3ad04 Mon Sep 17 00:00:00 2001 From: Alex Mikhalev Date: Tue, 18 Aug 2020 11:52:45 -0600 Subject: [PATCH] Fix more dead code warnings --- src/trace_listeners.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/trace_listeners.rs b/src/trace_listeners.rs index 81881fa..7701d66 100644 --- a/src/trace_listeners.rs +++ b/src/trace_listeners.rs @@ -162,6 +162,7 @@ pub struct SpanFilters { filters: Filters, } +#[allow(dead_code)] impl SpanFilters { pub fn new() -> Self { Self { @@ -225,6 +226,7 @@ pub struct SpanListener { filters: SpanFilters, } +#[allow(dead_code)] impl SpanListener { pub fn new(filters: SpanFilters) -> Self { Self {