Skip to content

Commit

Permalink
chore: update comment
Browse files Browse the repository at this point in the history
  • Loading branch information
flisky committed Mar 12, 2024
1 parent 6961839 commit 9b59c56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/polars-core/src/frame/group_by/into_groups.rs
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ where
},
#[cfg(feature = "dtype-decimal")]
DataType::Decimal(_, _) => {
// Safety: DecimalChunked's first field is ChunkedArray<Int128Type>
// convince the compiler that we are this type.
let ca: &Int128Chunked = unsafe {
&*(self as *const ChunkedArray<T> as *const ChunkedArray<Int128Type>)
};
Expand Down

0 comments on commit 9b59c56

Please sign in to comment.