From 2ca08aae410cd1c245cb835ae5b5bbbedf186a0a Mon Sep 17 00:00:00 2001 From: Orson Peters Date: Fri, 1 Nov 2024 15:24:31 +0100 Subject: [PATCH 1/2] refactor: Update nightly compiler version --- rust-toolchain.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rust-toolchain.toml b/rust-toolchain.toml index 90221c3e2edb..2ab732e63b60 100644 --- a/rust-toolchain.toml +++ b/rust-toolchain.toml @@ -1,2 +1,2 @@ [toolchain] -channel = "nightly-2024-10-28" +channel = "nightly-2024-11-01" From 4654ceccdfaee70f5eda079025a28b2ae9dca642 Mon Sep 17 00:00:00 2001 From: Orson Peters Date: Fri, 1 Nov 2024 15:52:51 +0100 Subject: [PATCH 2/2] fix clippy hint --- crates/polars-io/src/path_utils/hugging_face.rs | 2 +- crates/polars-plan/src/plans/ir/scan_sources.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/polars-io/src/path_utils/hugging_face.rs b/crates/polars-io/src/path_utils/hugging_face.rs index 4854ad3cf870..4ea6795dca2c 100644 --- a/crates/polars-io/src/path_utils/hugging_face.rs +++ b/crates/polars-io/src/path_utils/hugging_face.rs @@ -155,7 +155,7 @@ struct GetPages<'a> { uri: Option, } -impl<'a> GetPages<'a> { +impl GetPages<'_> { async fn next(&mut self) -> Option> { let uri = self.uri.take()?; diff --git a/crates/polars-plan/src/plans/ir/scan_sources.rs b/crates/polars-plan/src/plans/ir/scan_sources.rs index bcb80bd6140d..9ddae8d606f5 100644 --- a/crates/polars-plan/src/plans/ir/scan_sources.rs +++ b/crates/polars-plan/src/plans/ir/scan_sources.rs @@ -229,7 +229,7 @@ impl ScanSources { } } -impl<'a> ScanSourceRef<'a> { +impl ScanSourceRef<'_> { /// Get the name for `include_paths` pub fn to_include_path_name(&self) -> &str { match self {