Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Fix rust runnable is not detected if comment is after #[test] attribute (#22823)
Remco Smits68e670bf5443
diff --git a/crates/languages/src/rust/runnables.scm b/crates/languages/src/rust/runnables.scmindex 0552a3d7983..6d8dee44453 100644--- a/crates/languages/src/rust/runnables.scm+++ b/crates/languages/src/rust/runnables.scm@@ -18,6 +18,8 @@.(attribute_item) *.+ [(line_comment) (block_comment)] *+ .(function_itemname: (_) @runbody: _