diff options
| author | Bert Belder <bertbelder@gmail.com> | 2021-10-21 13:05:43 +0200 |
|---|---|---|
| committer | Bert Belder <bertbelder@gmail.com> | 2021-11-08 12:49:11 -0800 |
| commit | f1b1a3f389827af8983a78680c066fdad337ae32 (patch) | |
| tree | 7eaaac2b3094d40bc9fa4a453988ad7ddb4f37cd /cli/lsp/config.rs | |
| parent | b0426979029fe1923def25462f9b36b51c1263ec (diff) | |
refactor: move `mod tokio_util` to runtime (#12332)
This avoids a bunch of duplicated code.
Diffstat (limited to 'cli/lsp/config.rs')
| -rw-r--r-- | cli/lsp/config.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/cli/lsp/config.rs b/cli/lsp/config.rs index ff3d73f0f..af2caf22a 100644 --- a/cli/lsp/config.rs +++ b/cli/lsp/config.rs @@ -1,7 +1,5 @@ // Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. -use crate::tokio_util::create_basic_runtime; - use deno_core::error::anyhow; use deno_core::error::AnyError; use deno_core::parking_lot::RwLock; @@ -11,6 +9,7 @@ use deno_core::serde_json; use deno_core::serde_json::Value; use deno_core::url::Url; use deno_core::ModuleSpecifier; +use deno_runtime::tokio_util::create_basic_runtime; use log::error; use lsp::WorkspaceFolder; use lspower::lsp; |
