From e66d3c2c2e287879a757e12943a6d240981cb9e8 Mon Sep 17 00:00:00 2001 From: David Sherret Date: Thu, 14 Sep 2023 13:51:28 -0400 Subject: refactor: remove `DENO_UNSTABLE_NPM_SYNC_DOWNLOAD` and custom sync functionality (#20504) https://github.com/denoland/deno/pull/20488 enables us to remove this functionality. This is better because our test suite is now not testing a separate code path. --- cli/util/sync.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'cli/util/sync.rs') diff --git a/cli/util/sync.rs b/cli/util/sync.rs index 6eff974a7..e047a31bc 100644 --- a/cli/util/sync.rs +++ b/cli/util/sync.rs @@ -57,6 +57,7 @@ impl TaskQueue { /// Alternate API that acquires a permit internally /// for the duration of the future. + #[allow(unused)] pub fn run<'a, R>( &'a self, future: impl Future + 'a, -- cgit v1.2.3