Update crates/rust-analyzer/src/handlers/notification.rs

This commit is contained in:
Lukas Wirth 2024-01-02 10:27:41 +01:00 committed by GitHub
parent ad27b6e053
commit c99089c2b3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -134,7 +134,7 @@ pub(crate) fn handle_did_save_text_document(
// reset the flag // reset the flag
state.proc_macro_changed = false; state.proc_macro_changed = false;
// rebuild the proc macros // 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) { if let Ok(vfs_path) = from_proto::vfs_path(&params.text_document.uri) {