Skip to content

Commit

Permalink
Clippy fixed unused
Browse files Browse the repository at this point in the history
  • Loading branch information
JamesCE2001 committed Jul 21, 2024
1 parent 2a129f3 commit bfb7464
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/polars-io/src/csv/read/reader.rs
Original file line number Diff line number Diff line change
Expand Up @@ -270,10 +270,10 @@ where
let schema_overwrite = self.options.schema_overwrite.clone();
let low_memory = self.options.low_memory;

let has_cat = self.prepare_schema()?;
let _has_cat = self.prepare_schema()?;

#[cfg(feature = "dtype-categorical")]
let mut _cat_lock = if has_cat {
let mut _cat_lock = if _has_cat {
Some(polars_core::StringCacheHolder::hold())
} else {
None
Expand Down

0 comments on commit bfb7464

Please sign in to comment.