aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFuwn <[email protected]>2022-03-08 04:40:59 +0000
committerFuwn <[email protected]>2022-03-08 04:40:59 +0000
commite87dd629739b1c8d96f282865ab602f9b92fedce (patch)
treea82de483a78ef471ed7611e61b64133b5a4cc7e7 /src
parentfix: cors (diff)
downloadapi-worker-e87dd629739b1c8d96f282865ab602f9b92fedce.tar.xz
api-worker-e87dd629739b1c8d96f282865ab602f9b92fedce.zip
refactor(utils): String to char
Diffstat (limited to 'src')
-rw-r--r--src/utils.rs2
1 files changed, 1 insertions, 1 deletions
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<String> {
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")
));
}
}