A simple CPU rendered GUI IDE experience.
Diffstat (limited to 'src/lsp.rs')
| -rw-r--r-- | src/lsp.rs | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -10,7 +10,7 @@ use std::time::Instant; use Default::default; use anyhow::Error; -use arc_swap::{ArcSwap, ArcSwapOption}; +use arc_swap::ArcSwap; use crossbeam::channel::{ Receiver, RecvError, SendError, Sender, unbounded, }; @@ -214,7 +214,7 @@ impl Client { return Ok(()); }; let mut p = self.semantic_tokens.1.lock(); - if let Some((h, task)) = &*p { + if let Some((h, _task)) = &*p { if !h.is_finished() { h.abort(); } |