From 243dda543cff0015132f8f0cc464a21a4162b096 Mon Sep 17 00:00:00 2001 From: Andre Vallestero Date: Wed, 6 May 2020 20:46:00 -0400 Subject: [PATCH] Removed debug line --- server/src/lib.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/server/src/lib.rs b/server/src/lib.rs index 1c24f0b4c..f7d2b0e94 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("/")) }