From 6fa98e36121f0db4a3c8eb909cfedb7991022efc Mon Sep 17 00:00:00 2001 From: Fuwn Date: Tue, 8 Mar 2022 04:40:59 -0800 Subject: refactor(utils): String to char --- src/utils.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/utils.rs b/src/utils.rs index d1083a9..d48ff34 100644 --- a/src/utils.rs +++ b/src/utils.rs @@ -82,7 +82,7 @@ pub async fn filter_images_by_language(language: &str) -> Vec { constants::GITHUB_USER_CONTENT, // Pound symbols to URL (percent) encoding of pound symbol because we // are pushing a URL, not a string - item.path.replace("#", "%23") + item.path.replace('#', "%23") )); } } -- cgit v1.2.3