From ff84c94c2f6fd1aa2ba901341520a5b0da994df7 Mon Sep 17 00:00:00 2001 From: kaiyohugo <41114603+KAIYOHUGO@users.noreply.github.com> Date: Fri, 14 Jun 2024 11:43:17 +0800 Subject: [PATCH] chore: :fire: Remove unused dbg!(...) --- src/fetch_bedrock.rs | 1 - src/fetch_java.rs | 2 -- 2 files changed, 3 deletions(-) diff --git a/src/fetch_bedrock.rs b/src/fetch_bedrock.rs index a42ec37..37b9106 100644 --- a/src/fetch_bedrock.rs +++ b/src/fetch_bedrock.rs @@ -34,7 +34,6 @@ pub async fn fetch( }; let lang_id = lang_id.to_lowercase(); set.spawn(async move { - dbg!(&lang_id); let content = get(url).await?; let kv = des_bedrock(content).await?; anyhow::Ok((lang_id, kv)) diff --git a/src/fetch_java.rs b/src/fetch_java.rs index 54fa15f..78d8a2f 100644 --- a/src/fetch_java.rs +++ b/src/fetch_java.rs @@ -18,7 +18,6 @@ pub async fn fetch( set.spawn(async move { let java = java_package.downloads.client.url.get().await?; let kv = des_en_us_from_java(java, Some(java_package.downloads.client.size)).await?; - dbg!("en_us"); anyhow::Ok(("en_us".into(), kv)) }); @@ -40,7 +39,6 @@ pub async fn fetch( set.spawn(async move { let reader = obj.url().get().await?; let kv = task::spawn_blocking(move || des_java(SyncIoBridge::new(reader))).await??; - dbg!(&lang_id); anyhow::Ok((lang_id, kv)) });