Skip to content

Commit 73cd0ba

Browse files
committed
Last clippy things hopefully
Signed-off-by: Adam Gutglick <[email protected]>
1 parent 9807a1f commit 73cd0ba

File tree

8 files changed

+8
-8
lines changed

8 files changed

+8
-8
lines changed

fuzz/src/array/fill_null.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ fn fill_bool_array(
8080
}
8181
}
8282

83-
#[allow(clippy::cognitive_complexity)]
83+
#[expect(clippy::cognitive_complexity)]
8484
fn fill_primitive_array(
8585
array: &PrimitiveArray,
8686
fill_value: &Scalar,
@@ -120,7 +120,6 @@ fn fill_primitive_array(
120120
})
121121
}
122122

123-
#[allow(clippy::cognitive_complexity)]
124123
fn fill_decimal_array(
125124
array: &DecimalArray,
126125
fill_value: &Scalar,

vortex-array/src/arrays/list/tests.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -542,7 +542,7 @@ fn create_list_of_lists_nullable(data: OptVec<OptVec<OptVec<i32>>>) -> ListArray
542542
}
543543

544544
#[test]
545-
#[allow(clippy::cognitive_complexity)]
545+
#[expect(clippy::cognitive_complexity)]
546546
fn test_list_of_lists() {
547547
let data = vec![
548548
Some(vec![Some(vec![Some(1), Some(2)]), Some(vec![Some(3)])]),

vortex-btrblocks/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@ pub trait Compressor {
281281
/// Evaluates all available schemes against the provided statistics and returns
282282
/// the one with the highest compression ratio. Falls back to the default scheme
283283
/// if no scheme provides compression benefits.
284-
#[allow(clippy::cognitive_complexity)]
284+
#[expect(clippy::cognitive_complexity)]
285285
fn choose_scheme(
286286
stats: &Self::StatsType,
287287
is_sample: bool,

vortex-duckdb/src/e2e_test/vortex_scan_test.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -807,7 +807,7 @@ async fn write_vortex_file_with_encodings() -> NamedTempFile {
807807
temp_file_path
808808
}
809809

810-
#[allow(clippy::cognitive_complexity)]
810+
#[expect(clippy::cognitive_complexity)]
811811
#[test]
812812
fn test_vortex_encodings_roundtrip() {
813813
let file = RUNTIME.block_on(write_vortex_file_with_encodings());

vortex-ffi/src/file.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,7 @@ pub unsafe extern "C-unwind" fn vx_file_scan(
325325
})
326326
}
327327

328-
#[allow(clippy::cognitive_complexity)]
328+
#[expect(clippy::cognitive_complexity)]
329329
fn make_object_store(
330330
url: &Url,
331331
property_keys: &[String],

vortex-io/src/file/driver.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ impl State {
125125
}
126126
}
127127

128-
#[allow(clippy::cognitive_complexity)]
128+
#[expect(clippy::cognitive_complexity)]
129129
fn on_event(&mut self, event: ReadEvent) {
130130
tracing::debug!(?event, "Received ReadEvent");
131131
match event {

vortex-io/src/read.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ impl<T> Drop for InstrumentedReadAt<T>
181181
where
182182
T: VortexReadAt,
183183
{
184-
#[allow(clippy::cognitive_complexity)]
184+
#[expect(clippy::cognitive_complexity)]
185185
fn drop(&mut self) {
186186
let sizes = self.sizes.snapshot();
187187
tracing::debug!("Reads: {}", self.sizes.count());

vortex/examples/tracing_vortex.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@ async fn main() -> Result<(), Box<dyn std::error::Error + Send + Sync>> {
9292
}
9393

9494
/// Simulates application activity with various log levels and spans
95+
#[expect(clippy::cognitive_complexity)]
9596
async fn simulate_application_activity(user_id: u32) {
9697
// Simulate HTTP request handling
9798
let request_span = span!(

0 commit comments

Comments
 (0)