From 2c815a8bea902fbf519c9e3a86a49cf27891be4f 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 3cc45170483a..c21621addad3 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 f13de9f504d2..9470cf8e5c08 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;