Browse Source

Fix more dead code warnings

drone-volume-cache
Alex Mikhalev 4 years ago
parent
commit
82180956d3
  1. 2
      src/trace_listeners.rs

2
src/trace_listeners.rs

@ -162,6 +162,7 @@ pub struct SpanFilters {
filters: Filters, filters: Filters,
} }
#[allow(dead_code)]
impl SpanFilters { impl SpanFilters {
pub fn new() -> Self { pub fn new() -> Self {
Self { Self {
@ -225,6 +226,7 @@ pub struct SpanListener {
filters: SpanFilters, filters: SpanFilters,
} }
#[allow(dead_code)]
impl SpanListener { impl SpanListener {
pub fn new(filters: SpanFilters) -> Self { pub fn new(filters: SpanFilters) -> Self {
Self { Self {

Loading…
Cancel
Save