1
0
Fork 0
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:
JasonLG1979 2022-03-19 22:12:24 -05:00
parent dc9f822c80
commit d887d58251
4 changed files with 19 additions and 26 deletions

View file

@ -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;