diff --git a/fastfield_codecs/src/blockwise_linear.rs b/fastfield_codecs/src/blockwise_linear.rs index 64dde9b45..da342eb78 100644 --- a/fastfield_codecs/src/blockwise_linear.rs +++ b/fastfield_codecs/src/blockwise_linear.rs @@ -289,6 +289,7 @@ impl FastFieldCodec for BlockwiseLinearCodec { /// estimation for linear interpolation is hard because, you don't know /// where the local maxima are for the deviation of the calculated value and /// the offset is also unknown. + #[allow(clippy::question_mark)] fn estimate(fastfield_accessor: &impl Column) -> Option { if fastfield_accessor.num_vals() < 10 * CHUNK_SIZE { return None; diff --git a/fastfield_codecs/src/linear.rs b/fastfield_codecs/src/linear.rs index e3d2aac75..32dd43ec7 100644 --- a/fastfield_codecs/src/linear.rs +++ b/fastfield_codecs/src/linear.rs @@ -193,6 +193,7 @@ impl FastFieldCodec for LinearCodec { /// estimation for linear interpolation is hard because, you don't know /// where the local maxima for the deviation of the calculated value are and /// the offset to shift all values to >=0 is also unknown. + #[allow(clippy::question_mark)] fn estimate(fastfield_accessor: &impl Column) -> Option { if fastfield_accessor.num_vals() < 3 { return None; // disable compressor for this case