Skip to content

Commit

Permalink
Rename another use of usize
Browse files Browse the repository at this point in the history
  • Loading branch information
mbrobbel committed Jan 29, 2025
1 parent 442558d commit c5e271f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion arrow-buffer/src/util/bit_chunk_iterator.rs
Original file line number Diff line number Diff line change
Expand Up @@ -642,7 +642,7 @@ mod tests {
let offset = uusize.sample(&mut rng).checked_rem(max_offset).unwrap_or(0);

let max_truncate = 128.min(mask_len - offset);
let truncate = usize
let truncate = uusize
.sample(&mut rng)
.checked_rem(max_truncate)
.unwrap_or(0);
Expand Down
2 changes: 1 addition & 1 deletion arrow-select/src/filter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1527,7 +1527,7 @@ mod tests {
let offset = uusize.sample(&mut rng).checked_rem(max_offset).unwrap_or(0);

let max_truncate = 128.min(mask_len - offset);
let truncate = usize
let truncate = uusize
.sample(&mut rng)
.checked_rem(max_truncate)
.unwrap_or(0);
Expand Down

0 comments on commit c5e271f

Please sign in to comment.