From 456523f31240f4008ca9a628e42f7c6ab8a34f81 Mon Sep 17 00:00:00 2001 From: gwenn Date: Sat, 8 Oct 2022 19:28:38 +0200 Subject: [PATCH] Fix error: unknown lint: `clippy::bool_to_int_with_if` --- src/vtab/series.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vtab/series.rs b/src/vtab/series.rs index bb2a86f..a38692b 100644 --- a/src/vtab/series.rs +++ b/src/vtab/series.rs @@ -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