Skip to content

Commit 981c153

Browse files
committed
fix
Signed-off-by: Joe Isaacs <[email protected]>
1 parent 1e1949b commit 981c153

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

vortex-ffi/src/file.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,6 @@ impl vx_file_scan_options {
108108
/// Processes FFI scan options.
109109
///
110110
/// Extracts and converts a scan configuration from an FFI options struct.
111-
#[allow(clippy::useless_conversion)] // c_ulong is u32 on Windows, u64 on Unix
112111
fn process_scan_options(&self, session: &VortexSession) -> VortexResult<ScanOptions> {
113112
// Extract field names for projection.
114113
let projection_expr = extract_expression(
@@ -123,12 +122,14 @@ impl vx_file_scan_options {
123122
self.filter_expression_len,
124123
)?;
125124

125+
#[allow(clippy::useless_conversion)] // c_ulong is u32 on Windows, u64 on Unix
126126
let row_range = (self.row_range_end > self.row_range_start)
127127
.then_some(u64::from(self.row_range_start)..u64::from(self.row_range_end));
128128

129129
let split_by = (self.split_by_row_count > 0)
130130
.then_some(SplitBy::RowCount(self.split_by_row_count as usize));
131131

132+
#[allow(clippy::useless_conversion)]
132133
Ok(ScanOptions {
133134
projection_expr,
134135
filter_expr,

0 commit comments

Comments
 (0)