Skip to content

Commit c99089c

Browse files
authored
Update crates/rust-analyzer/src/handlers/notification.rs
1 parent ad27b6e commit c99089c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ pub(crate) fn handle_did_save_text_document(
134134
// reset the flag
135135
state.proc_macro_changed = false;
136136
// rebuild the proc macros
137-
state.fetch_build_data_queue.request_op(format!("ScriptRebuildOnSave"), ());
137+
state.fetch_build_data_queue.request_op("ScriptRebuildOnSave".to_owned(), ());
138138
}
139139

140140
if let Ok(vfs_path) = from_proto::vfs_path(&params.text_document.uri) {

0 commit comments

Comments
 (0)