Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Revert to calling .update in eval fixture (#31483)
Joseph T. Lyons450a10facf6a
diff --git a/crates/assistant_tools/src/edit_agent/evals/fixtures/disable_cursor_blinking/before.rs b/crates/assistant_tools/src/edit_agent/evals/fixtures/disable_cursor_blinking/before.rsindex 9481267a415..607daa8ce3a 100644--- a/crates/assistant_tools/src/edit_agent/evals/fixtures/disable_cursor_blinking/before.rs+++ b/crates/assistant_tools/src/edit_agent/evals/fixtures/disable_cursor_blinking/before.rs@@ -19812,7 +19812,7 @@ impl SemanticsProvider for Entity<Project> {PrepareRenameResponse::InvalidPosition => None,PrepareRenameResponse::OnlyUnpreparedRenameSupported => {// Fallback on using TreeSitter info to determine identifier range- buffer.read_with(cx, |buffer, _| {+ buffer.update(cx, |buffer, _| {let snapshot = buffer.snapshot();let (range, kind) = snapshot.surrounding_word(position);if kind != Some(CharKind::Word) {