diff options
author | David Sherret <dsherret@users.noreply.github.com> | 2023-09-14 13:51:28 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-14 17:51:28 +0000 |
commit | e66d3c2c2e287879a757e12943a6d240981cb9e8 (patch) | |
tree | 827f518778324a091fa3fbbe8f533fc10b74200a /cli/util/sync.rs | |
parent | 54890ee98b9068af41214b86fb693135f0998a0a (diff) |
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.
Diffstat (limited to 'cli/util/sync.rs')
-rw-r--r-- | cli/util/sync.rs | 1 |
1 files changed, 1 insertions, 0 deletions
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<Output = R> + 'a, |