Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
orlp committed Sep 6, 2024
1 parent 65abaf9 commit 8c93e49
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/polars-core/src/datatypes/any_value.rs
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,7 @@ impl AnyValue<'static> {
},
#[cfg(feature = "dtype-duration")]
DataType::Duration(unit) => AnyValue::Duration(0, *unit),
#[cfg(feature="dtype-decimal")]
#[cfg(feature = "dtype-decimal")]
DataType::Decimal(_p, s) => {
AnyValue::Decimal(0, s.expect("unknown scale during execution"))
},
Expand Down Expand Up @@ -850,7 +850,7 @@ impl<'a> AnyValue<'a> {

Duration(l + r, *lu)
},
#[cfg(feature="dtype-decimal")]
#[cfg(feature = "dtype-decimal")]
(Decimal(l, ls), Decimal(r, rs)) => {
if ls != rs {
unimplemented!("adding decimals with different scales is not supported here");
Expand Down

0 comments on commit 8c93e49

Please sign in to comment.