From: Andre Vallestero Date: Thu, 7 May 2020 00:46:00 +0000 (-0400) Subject: Removed debug line X-Git-Url: http://these/git/%22%7Burl%7D/%7B%60%24%7BghostArchiveUrl%7D/%7B%60/feeds/inbox/%24%7BUserService.Instance.auth%7D.xml%60%7D?a=commitdiff_plain;h=243dda543cff0015132f8f0cc464a21a4162b096;p=lemmy.git Removed debug line --- diff --git a/server/src/lib.rs b/server/src/lib.rs index 1c24f0b4..f7d2b0e9 100644 --- a/server/src/lib.rs +++ b/server/src/lib.rs @@ -185,7 +185,6 @@ pub fn fetch_pictshare(image_url: &str) -> Result match fetch_pictshare(&url) { // Try to generate a small thumbnail if iframely is not supported Ok(res) => { - let mut split_url: Vec<&str> = res.url.split("/").collect(); + let mut split_url: Vec<&str> = res.url.split('/').collect(); split_url.insert(split_url.len() - 1, "192"); Some(split_url.join("/")) }