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

Loading…
Cancel
Save