diff options
Diffstat (limited to 'support/texlab/src/features/build.rs')
-rw-r--r-- | support/texlab/src/features/build.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/support/texlab/src/features/build.rs b/support/texlab/src/features/build.rs index 6953698a29..5505b9fb70 100644 --- a/support/texlab/src/features/build.rs +++ b/support/texlab/src/features/build.rs @@ -8,8 +8,8 @@ use std::{ use anyhow::Result; use cancellation::CancellationToken; -use chashmap::CHashMap; use crossbeam_channel::Sender; +use dashmap::DashMap; use encoding_rs_io::DecodeReaderBytesBuilder; use lsp_types::{ notification::{LogMessage, Progress}, @@ -101,7 +101,7 @@ impl<'a> Drop for ProgressReporter<'a> { #[derive(Default)] pub struct BuildEngine { lock: Mutex<()>, - pub positions_by_uri: CHashMap<Arc<Uri>, Position>, + pub positions_by_uri: DashMap<Arc<Uri>, Position>, } impl BuildEngine { @@ -233,7 +233,7 @@ fn capture_output( &lsp_sender, LogMessageParams { message, - typ: lsp_types::MessageType::Log, + typ: lsp_types::MessageType::LOG, }, ) .unwrap(); |