summaryrefslogtreecommitdiff
path: root/cli/lsp/performance.rs
diff options
context:
space:
mode:
Diffstat (limited to 'cli/lsp/performance.rs')
-rw-r--r--cli/lsp/performance.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/cli/lsp/performance.rs b/cli/lsp/performance.rs
index d251e012f..05e586ffd 100644
--- a/cli/lsp/performance.rs
+++ b/cli/lsp/performance.rs
@@ -72,11 +72,11 @@ impl From<PerformanceMark> for PerformanceMeasure {
///
/// The structure will limit the size of measurements to the most recent 1000,
/// and will roll off when that limit is reached.
-#[derive(Debug, Clone)]
+#[derive(Debug)]
pub struct Performance {
- counts: Arc<Mutex<HashMap<String, u32>>>,
+ counts: Mutex<HashMap<String, u32>>,
max_size: usize,
- measures: Arc<Mutex<VecDeque<PerformanceMeasure>>>,
+ measures: Mutex<VecDeque<PerformanceMeasure>>,
}
impl Default for Performance {