Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore
: clippy::needless_borrows_for_generic_args
warning: the borrowed expression implements the required traits --> src/cmd/joinp.rs:416:73 | 416 | .with_column(col.clone().str().to_lowercase().alias(&format!( | _________________________________________________________________________^ 417 | | "_qsv-{}-lower", 418 | | col.to_string() 419 | | .trim_start_matches(r#"col(""#) 420 | | .trim_end_matches(r#"")"#) 421 | | ))); | |_____________________^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args = note: `#[warn(clippy::needless_borrows_for_generic_args)]` on by default help: change this to | 416 ~ .with_column(col.clone().str().to_lowercase().alias(format!( 417 + "_qsv-{}-lower", 418 + col.to_string() 419 + .trim_start_matches(r#"col(""#) 420 + .trim_end_matches(r#"")"#) 421 ~ ))); | warning: the borrowed expression implements the required traits --> src/cmd/joinp.rs:428:73 | 428 | .with_column(col.clone().str().to_lowercase().alias(&format!( | _________________________________________________________________________^ 429 | | "_qsv-{}-lower", 430 | | col.to_string() 431 | | .trim_start_matches(r#"col(""#) 432 | | .trim_end_matches(r#"")"#) 433 | | ))); | |_____________________^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args help: change this to | 428 ~ .with_column(col.clone().str().to_lowercase().alias(format!( 429 + "_qsv-{}-lower", 430 + col.to_string() 431 + .trim_start_matches(r#"col(""#) 432 + .trim_end_matches(r#"")"#) 433 ~ ))); | warning: the borrowed expression implements the required traits --> src/cmd/joinp.rs:440:44 | 440 | polars::lazy::dsl::col(&format!( | ____________________________________________^ 441 | | "_qsv-{}-lower", 442 | | col.to_string() 443 | | .trim_start_matches(r#"col(""#) 444 | | .trim_end_matches(r#"")"#) 445 | | )) | |_____________________^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args help: change this to | 440 ~ polars::lazy::dsl::col(format!( 441 + "_qsv-{}-lower", 442 + col.to_string() 443 + .trim_start_matches(r#"col(""#) 444 + .trim_end_matches(r#"")"#) 445 ~ )) | warning: the borrowed expression implements the required traits --> src/cmd/joinp.rs:452:44 | 452 | polars::lazy::dsl::col(&format!( | ____________________________________________^ 453 | | "_qsv-{}-lower", 454 | | col.to_string() 455 | | .trim_start_matches(r#"col(""#) 456 | | .trim_end_matches(r#"")"#) 457 | | )) | |_____________________^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args help: change this to | 452 ~ polars::lazy::dsl::col(format!( 453 + "_qsv-{}-lower", 454 + col.to_string() 455 + .trim_start_matches(r#"col(""#) 456 + .trim_end_matches(r#"")"#) 457 ~ )) |
- Loading branch information