From a6d152de9f1ea4b50016d64d67926adecb429e3a Mon Sep 17 00:00:00 2001 From: petrosbar Date: Tue, 24 Oct 2023 22:11:04 +0300 Subject: [PATCH] be consistent with cloning PyExpr --- py-polars/src/expr/general.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/py-polars/src/expr/general.rs b/py-polars/src/expr/general.rs index e7df96a30bfa..88f7915a1fbc 100644 --- a/py-polars/src/expr/general.rs +++ b/py-polars/src/expr/general.rs @@ -401,8 +401,8 @@ impl PyExpr { } fn is_between(&self, lower: Self, upper: Self, closed: Wrap) -> Self { - self.clone() - .inner + self.inner + .clone() .is_between(lower.inner, upper.inner, closed.0) .into() }