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");