From 7fdc081517a1574bb3387d4b35554733cf9865d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fernando=20Casta=C3=B1eda?= <73617305+fernandocast@users.noreply.github.com> Date: Sat, 23 Sep 2023 22:22:02 -0600 Subject: [PATCH] feature: add code style --- crates/polars-lazy/src/physical_plan/state.rs | 2 +- py-polars/src/lazyframe.rs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/crates/polars-lazy/src/physical_plan/state.rs b/crates/polars-lazy/src/physical_plan/state.rs index 3cc45170483a9..c21621addad3a 100644 --- a/crates/polars-lazy/src/physical_plan/state.rs +++ b/crates/polars-lazy/src/physical_plan/state.rs @@ -2,7 +2,7 @@ use std::borrow::Cow; use std::sync::atomic::{AtomicU8, Ordering}; use std::sync::{Mutex, RwLock}; -use bitflags::{bitflags, Flags}; +use bitflags::bitflags; use once_cell::sync::OnceCell; use polars_core::config::verbose; use polars_core::frame::group_by::GroupsProxy; diff --git a/py-polars/src/lazyframe.rs b/py-polars/src/lazyframe.rs index a7d41cef5a5d0..128ad8aba2204 100644 --- a/py-polars/src/lazyframe.rs +++ b/py-polars/src/lazyframe.rs @@ -11,10 +11,10 @@ use polars::lazy::frame::LazyCsvReader; use polars::lazy::frame::LazyJsonLineReader; use polars::lazy::frame::{AllowedOptimizations, LazyFrame}; use polars::lazy::prelude::col; -#[cfg(feature = "csv")] -use polars::prelude::{cloud, ClosedWindow, CsvEncoding, Field, JoinType, Schema}; #[cfg(feature = "json")] use polars::prelude::JsonFormat; +#[cfg(feature = "csv")] +use polars::prelude::{ClosedWindow, CsvEncoding, Field, JoinType, Schema}; use polars::time::*; use polars_core::frame::explode::MeltArgs; use polars_core::frame::UniqueKeepStrategy;