aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Schievink <[email protected]>2020-11-02 17:33:46 +0000
committerJonas Schievink <[email protected]>2020-11-02 17:33:46 +0000
commit58e3fd8e8e04a8436b17ca07bea5e791d1c01e65 (patch)
tree97141ffe6090ad7b5092a4e57be22592bc6c3fcb
parenteb4e84ff510b9e5ead529dba83fc1679a569c448 (diff)
Remove unnecessary clone
-rw-r--r--crates/rust-analyzer/src/main_loop.rs2
1 files changed, 1 insertions, 1 deletions
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 {
243 self.report_progress("indexing", Progress::Begin, None, Some(0.0)); 243 self.report_progress("indexing", Progress::Begin, None, Some(0.0));
244 } 244 }
245 245
246 self.report_progress("indexing", state, message.clone(), Some(fraction)); 246 self.report_progress("indexing", state, message, Some(fraction));
247 } 247 }
248 } 248 }
249 Event::Vfs(mut task) => { 249 Event::Vfs(mut task) => {