fix
This commit is contained in:
+1
-1
@@ -339,7 +339,7 @@ fn extract_docstring(attrs: &[Attribute]) -> Option<String> {
|
||||
// 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::<Vec<_>>()
|
||||
.join("\n");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user