Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

Add missing `#[track_caller]` meant to be in #32433 (#32434)

Michael Sloan64d649245c76
diff --git a/crates/editor/src/editor.rs b/crates/editor/src/editor.rs
index 000854bbdf4..b0710240d7c 100644
--- a/crates/editor/src/editor.rs
+++ b/crates/editor/src/editor.rs
@@ -1239,6 +1239,7 @@ struct SelectionHistory {
}
impl SelectionHistory {
+ #[track_caller]
fn insert_transaction(
&mut self,
transaction_id: TransactionId,