Skip to content

Commit

Permalink
fix clippy hint
Browse files Browse the repository at this point in the history
  • Loading branch information
orlp committed Nov 1, 2024
1 parent 2ca08aa commit 4654cec
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion crates/polars-io/src/path_utils/hugging_face.rs
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ struct GetPages<'a> {
uri: Option<String>,
}

impl<'a> GetPages<'a> {
impl GetPages<'_> {
async fn next(&mut self) -> Option<PolarsResult<bytes::Bytes>> {
let uri = self.uri.take()?;

Expand Down
2 changes: 1 addition & 1 deletion crates/polars-plan/src/plans/ir/scan_sources.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 4654cec

Please sign in to comment.