Unnamed repository; edit this file 'description' to name the repository.
-rw-r--r--crates/rust-analyzer/src/handlers/notification.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/rust-analyzer/src/handlers/notification.rs b/crates/rust-analyzer/src/handlers/notification.rs
index 60a3edb9dd..7e6219991b 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(&params.text_document.uri) {