From 81a0ff7e4e8e44b09ebd311ae512991e7dd13425 Mon Sep 17 00:00:00 2001 From: Stephen Adamson Date: Fri, 14 Nov 2025 20:54:58 +0000 Subject: [PATCH] fix --- tools/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/src/main.rs b/tools/src/main.rs index 3851246..1662325 100644 --- a/tools/src/main.rs +++ b/tools/src/main.rs @@ -339,7 +339,7 @@ fn extract_docstring(attrs: &[Attribute]) -> Option { // Convert the attribute’s token stream back to source‑like text. let text = attrs .iter() - .map(|a| a.tokens.to_string()) + .map(|a| a.to_token_stream().to_string()) .collect::>() .join("\n");