From 2f3453994a3cea5f683a9a85986667448e079470 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Sat, 14 May 2022 22:08:16 +0100 Subject: [PATCH] minor: rename --- crates/rust-analyzer/src/global_state.rs | 2 +- crates/rust-analyzer/src/lib.rs | 2 +- crates/rust-analyzer/src/{thread_pool.rs => task_pool.rs} | 0 3 files changed, 2 insertions(+), 2 deletions(-) rename crates/rust-analyzer/src/{thread_pool.rs => task_pool.rs} (100%) diff --git a/crates/rust-analyzer/src/global_state.rs b/crates/rust-analyzer/src/global_state.rs index ebd6f35b424..d2b4fac5dc0 100644 --- a/crates/rust-analyzer/src/global_state.rs +++ b/crates/rust-analyzer/src/global_state.rs @@ -26,7 +26,7 @@ mem_docs::MemDocs, op_queue::OpQueue, reload::{self, SourceRootConfig}, - thread_pool::TaskPool, + task_pool::TaskPool, to_proto::url_from_abs_path, Result, }; diff --git a/crates/rust-analyzer/src/lib.rs b/crates/rust-analyzer/src/lib.rs index 3b9e201f573..d6b37760a0a 100644 --- a/crates/rust-analyzer/src/lib.rs +++ b/crates/rust-analyzer/src/lib.rs @@ -30,7 +30,7 @@ macro_rules! eprintln { mod diagnostics; mod line_index; mod lsp_utils; -mod thread_pool; +mod task_pool; mod mem_docs; mod diff; mod op_queue; diff --git a/crates/rust-analyzer/src/thread_pool.rs b/crates/rust-analyzer/src/task_pool.rs similarity index 100% rename from crates/rust-analyzer/src/thread_pool.rs rename to crates/rust-analyzer/src/task_pool.rs