Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
orlp committed Oct 19, 2023
1 parent a34189f commit 648ede2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions crates/polars-ops/src/frame/join/hash_join/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -160,14 +160,14 @@ pub trait JoinDispatch: IntoDf {
if let Some((offset, len)) = args.slice {
left_idx = slice_slice(left_idx, offset, len);
}
ca_self._create_left_df_from_slice(&left_idx, true, true)
ca_self._create_left_df_from_slice(left_idx, true, true)
},
ChunkJoinIds::Right(left_idx) => unsafe {
let mut left_idx = &*left_idx;
if let Some((offset, len)) = args.slice {
left_idx = slice_slice(left_idx, offset, len);
}
ca_self.create_left_df_chunked(&left_idx, true)
ca_self.create_left_df_chunked(left_idx, true)
},
};

Expand All @@ -184,7 +184,7 @@ pub trait JoinDispatch: IntoDf {
if let Some((offset, len)) = args.slice {
right_idx = slice_slice(right_idx, offset, len);
}
other._take_opt_chunked_unchecked(&right_idx)
other._take_opt_chunked_unchecked(right_idx)
},
};
let (df_left, df_right) = POOL.join(materialize_left, materialize_right);
Expand Down

0 comments on commit 648ede2

Please sign in to comment.