diff --git a/crates/polars-lazy/src/scan/csv.rs b/crates/polars-lazy/src/scan/csv.rs index 16b1317b2913..89e47a684698 100644 --- a/crates/polars-lazy/src/scan/csv.rs +++ b/crates/polars-lazy/src/scan/csv.rs @@ -195,7 +195,7 @@ impl<'a> LazyCsvReader<'a> { self } - /// Reduce memory usage in expensive of performance + /// Reduce memory usage at the expense of performance #[must_use] pub fn low_memory(mut self, toggle: bool) -> Self { self.low_memory = toggle; diff --git a/crates/polars-lazy/src/scan/ndjson.rs b/crates/polars-lazy/src/scan/ndjson.rs index ab9094295c23..f64cfc5e4efd 100644 --- a/crates/polars-lazy/src/scan/ndjson.rs +++ b/crates/polars-lazy/src/scan/ndjson.rs @@ -77,7 +77,7 @@ impl LazyJsonLineReader { self } - /// Reduce memory usage in expensive of performance + /// Reduce memory usage at the expense of performance #[must_use] pub fn low_memory(mut self, toggle: bool) -> Self { self.low_memory = toggle;