Skip to content

Commit

Permalink
Satisfy clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
stinodego committed Oct 22, 2024
1 parent 31493ff commit 5c56c0e
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions crates/polars-python/src/lazyframe/visitor/expr_nodes.rs
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,8 @@ impl IntoPy<PyObject> for Wrap<ClosedInterval> {
}
}

#[pyclass(name = "Operator", eq)]
#[derive(Copy, Clone, PartialEq)]
#[pyclass(name = "Operator")]
#[derive(Copy, Clone)]
pub enum PyOperator {
Eq,
EqValidity,
Expand Down Expand Up @@ -129,8 +129,8 @@ impl IntoPy<PyObject> for Wrap<InequalityOperator> {
}
}

#[pyclass(name = "StringFunction", eq)]
#[derive(Copy, Clone, PartialEq)]
#[pyclass(name = "StringFunction")]
#[derive(Copy, Clone)]
pub enum PyStringFunction {
ConcatHorizontal,
ConcatVertical,
Expand Down Expand Up @@ -183,8 +183,8 @@ impl PyStringFunction {
}
}

#[pyclass(name = "BooleanFunction", eq)]
#[derive(Copy, Clone, PartialEq)]
#[pyclass(name = "BooleanFunction")]
#[derive(Copy, Clone)]
pub enum PyBooleanFunction {
Any,
All,
Expand Down Expand Up @@ -212,8 +212,8 @@ impl PyBooleanFunction {
}
}

#[pyclass(name = "TemporalFunction", eq)]
#[derive(Copy, Clone, PartialEq)]
#[pyclass(name = "TemporalFunction")]
#[derive(Copy, Clone)]
pub enum PyTemporalFunction {
Millennium,
Century,
Expand Down

0 comments on commit 5c56c0e

Please sign in to comment.