From 041a8e6adce77242560fd791ea00ecca5c8c8290 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 29 Jun 2026 11:26:07 +0000 Subject: [PATCH] Fix source_text call in @@raw_lhs documentation example --- shared/yeast/doc/yeast.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shared/yeast/doc/yeast.md b/shared/yeast/doc/yeast.md index 8ea2e67b2de..8aa050592f6 100644 --- a/shared/yeast/doc/yeast.md +++ b/shared/yeast/doc/yeast.md @@ -320,7 +320,7 @@ yeast::rule!( => { // raw_lhs is untranslated: read its original source text. - let text = ctx.ast.source_text(raw_lhs.into()); + let text = ctx.ast.source_text(raw_lhs); // rhs is already translated by the auto-translate prefix. tree!((call method: (identifier #{text.as_str()})