Skip to content

Commit

Permalink
chore(rust): remove unneeded branch (#10082)
Browse files Browse the repository at this point in the history
  • Loading branch information
ritchie46 authored Jul 26, 2023
1 parent c52e70c commit a764637
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions polars/polars-core/src/series/comparison.rs
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,6 @@ macro_rules! impl_compare {
DataType::Int64 => lhs.i64().unwrap().$method(rhs.i64().unwrap()),
DataType::Float32 => lhs.f32().unwrap().$method(rhs.f32().unwrap()),
DataType::Float64 => lhs.f64().unwrap().$method(rhs.f64().unwrap()),
#[cfg(feature = "dtype-duration")]
DataType::Duration(_) => lhs
.duration()
.unwrap()
.$method(rhs.duration().unwrap().deref()),
DataType::List(_) => lhs.list().unwrap().$method(rhs.list().unwrap()),
#[cfg(feature = "dtype-struct")]
DataType::Struct(_) => lhs
Expand Down

0 comments on commit a764637

Please sign in to comment.