mirror of
https://github.com/librespot-org/librespot.git
synced 2025-10-04 02:09:26 +02:00
Fix clippy lints
This commit is contained in:
parent
3d298768b3
commit
2a3e248bba
7 changed files with 30 additions and 40 deletions
|
@ -586,7 +586,7 @@ fn get_setup() -> Setup {
|
|||
|
||||
let stripped_env_key = |k: &str| {
|
||||
k.trim_start_matches("LIBRESPOT_")
|
||||
.replace("_", "-")
|
||||
.replace('_', "-")
|
||||
.to_lowercase()
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue