From d7453454b33840127f794505f32100d0ea316458 Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Tue, 27 Dec 2022 15:43:37 +0100 Subject: [PATCH] Fix clippy: Remove unneeded reference Signed-off-by: Matthias Beyer --- src/mastodon.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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();