From c99089c2b39e3e7168a4bd0e68c0f3aeef4f26de Mon Sep 17 00:00:00 2001 From: Lukas Wirth Date: Tue, 2 Jan 2024 10:27:41 +0100 Subject: [PATCH] Update crates/rust-analyzer/src/handlers/notification.rs --- crates/rust-analyzer/src/handlers/notification.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/rust-analyzer/src/handlers/notification.rs b/crates/rust-analyzer/src/handlers/notification.rs index 60a3edb9ddd..7e6219991b6 100644 --- a/crates/rust-analyzer/src/handlers/notification.rs +++ b/crates/rust-analyzer/src/handlers/notification.rs @@ -134,7 +134,7 @@ pub(crate) fn handle_did_save_text_document( // reset the flag state.proc_macro_changed = false; // rebuild the proc macros - state.fetch_build_data_queue.request_op(format!("ScriptRebuildOnSave"), ()); + state.fetch_build_data_queue.request_op("ScriptRebuildOnSave".to_owned(), ()); } if let Ok(vfs_path) = from_proto::vfs_path(¶ms.text_document.uri) {