From ae05e7f6b387c3c4b6842286744299ad32f2cbed Mon Sep 17 00:00:00 2001 From: Kavin <20838718+FireMasterK@users.noreply.github.com> Date: Sat, 11 Feb 2023 11:25:58 +0000 Subject: [PATCH] Run clippy. --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index 0ecedb1..5ae66dd 100644 --- a/src/main.rs +++ b/src/main.rs @@ -292,7 +292,7 @@ const ALL_REGIONS: [&str; 244] = [ #[async_recursion] async fn fetch_restrictions(video_id: &str) -> RestrictionInfo { - let resp = CLIENT.get(format!("https://content-youtube.googleapis.com/youtube/v3/videos?id={}&part=contentDetails&key=AIzaSyAa8yy0GdcGPHdtD083HiGGx_S0vMPScDM", video_id)) + let resp = CLIENT.get(format!("https://content-youtube.googleapis.com/youtube/v3/videos?id={video_id}&part=contentDetails&key=AIzaSyAa8yy0GdcGPHdtD083HiGGx_S0vMPScDM")) .header("Accept", "*/*") .header("Accept-Language", "en-US,en;q=0.5") .header("Referer", "https://content-youtube.googleapis.com/")