From 58e3fd8e8e04a8436b17ca07bea5e791d1c01e65 Mon Sep 17 00:00:00 2001 From: Jonas Schievink Date: Mon, 2 Nov 2020 18:33:46 +0100 Subject: Remove unnecessary clone --- crates/rust-analyzer/src/main_loop.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/rust-analyzer/src/main_loop.rs b/crates/rust-analyzer/src/main_loop.rs index 4ab5bc6eb..e9d08ff15 100644 --- a/crates/rust-analyzer/src/main_loop.rs +++ b/crates/rust-analyzer/src/main_loop.rs @@ -243,7 +243,7 @@ impl GlobalState { self.report_progress("indexing", Progress::Begin, None, Some(0.0)); } - self.report_progress("indexing", state, message.clone(), Some(fraction)); + self.report_progress("indexing", state, message, Some(fraction)); } } Event::Vfs(mut task) => { -- cgit v1.2.3