Skip to content

Commit a12ccd5

Browse files
committed
Fix test
1 parent 0f43b55 commit a12ccd5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/rust-analyzer/src/integrated_benchmarks.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,7 @@ fn integrated_diagnostics_benchmark() {
306306
let mut text = host.analysis().file_text(file_id).unwrap().to_string();
307307
patch(&mut text, "db.struct_data(self.id)", "();\ndb.struct_data(self.id)");
308308
let mut change = ChangeWithProcMacros::new();
309-
change.change_file(file_id, Some(Arc::from(text)));
309+
change.change_file(file_id, Some(text));
310310
host.apply_change(change);
311311
};
312312

0 commit comments

Comments
 (0)