From: Andre Vallestero Date: Thu, 7 May 2020 00:46:00 +0000 (-0400) Subject: Removed debug line X-Git-Url: http://these/git/%7B%24%7B%60data:application/static/%7B%7D/inbox?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("/")) }