diff --git a/src/mastodon.rs b/src/mastodon.rs index 4223a21..0cb0b6b 100644 --- a/src/mastodon.rs +++ b/src/mastodon.rs @@ -326,11 +326,11 @@ impl Mastodon { if ids.len() == 1 { url += "id="; - url += &ids[0]; + url += ids[0]; } else { for id in ids { url += "id[]="; - url += &id; + url += id; url += "&"; } url.pop();