Skip to content

Commit 434e794

Browse files
Removing unreachable code
1 parent 662e1d8 commit 434e794

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

  • asap-common/dependencies/rs/promql_utilities/src/query_logics

asap-common/dependencies/rs/promql_utilities/src/query_logics/logics.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,6 @@ pub fn map_statistic_to_precompute_operator(
5151
}
5252
Statistic::Topk => Ok((AggregationType::CountMinSketchWithHeap, "topk".to_string())),
5353
Statistic::Cardinality => Ok((AggregationType::HLL, "".to_string())),
54-
#[allow(unreachable_patterns)]
55-
_ => Err(format!("Statistic {statistic:?} not supported")),
5654
}
5755
}
5856

0 commit comments

Comments
 (0)