mirror of
https://github.com/librespot-org/librespot.git
synced 2025-10-05 02:39:53 +02:00
Fix clippy warnings
This commit is contained in:
parent
dc9f822c80
commit
d887d58251
4 changed files with 19 additions and 26 deletions
|
@ -257,7 +257,7 @@ impl SpClient {
|
|||
let mut tries: usize = 0;
|
||||
let mut last_response;
|
||||
|
||||
let body = body.unwrap_or_else(String::new);
|
||||
let body = body.unwrap_or_default();
|
||||
|
||||
loop {
|
||||
tries += 1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue