Fix clippy warnings

This commit is contained in:
gwenn
2022-11-09 19:57:36 +01:00
parent 403646ec99
commit 27e5fb016b
2 changed files with 9 additions and 16 deletions

View File

@@ -115,7 +115,7 @@ unsafe impl<'vtab> VTab<'vtab> for SeriesTab {
}
if idx_num.contains(QueryPlanFlags::BOTH) {
// Both start= and stop= boundaries are available.
//#[allow(clippy::bool_to_int_with_if)]
#[allow(clippy::bool_to_int_with_if)]
info.set_estimated_cost(f64::from(
2 - if idx_num.contains(QueryPlanFlags::STEP) {
1