Fix clippy: Remove unneeded reference

Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
This commit is contained in:
Matthias Beyer 2022-12-27 15:43:37 +01:00
parent 6bdc0fea5a
commit d7453454b3
No known key found for this signature in database
1 changed files with 2 additions and 2 deletions

View File

@ -326,11 +326,11 @@ impl Mastodon {
if ids.len() == 1 { if ids.len() == 1 {
url += "id="; url += "id=";
url += &ids[0]; url += ids[0];
} else { } else {
for id in ids { for id in ids {
url += "id[]="; url += "id[]=";
url += &id; url += id;
url += "&"; url += "&";
} }
url.pop(); url.pop();